Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

s6

Public visualization

Viewing a saved revision (read-only)

f4de603d17c64742b360fef091e4b198

s6

0 stars1🌍 Public
Vvedasrivarma13@gmail.com
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from D3 Scatter Plot

This scatter plot maps Hogwarts house names to numeric hobby values, showing the distribution of hobby associations across Gryffindor, Hufflepuff, Slytherin, and Ravenclaw. The visualization uses an SVG rendered through React, with D3 v6’s `scalePoint` for the categorical x-axis and `scaleLinear` for the y-axis. Circles represent individual data points, positioned via `x()` and `y()` scale functions. Axis labels and a title are added using SVG text elements, while the chart is styled with CSS for a light blue background and tomato-red dots.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.