🌍 Public
Viewing a saved revision (read-only)
6f23acf778d1456fbd510040a6a7d4c1
Raga Scatter Plot with Shape
This example presents a scatter plot of the Iris dataset, comparing petal length against sepal length. Each data point is rendered as a distinct shape, with the species of the flower determining the symbol type. The visualization includes axis labels for “Sepal Length” and “Petal Length,” alongside a legend that maps the three species to their respective shapes. The chart is built using D3 v7, employing `scaleLinear` for the x and y axes, `scaleOrdinal` for the shape mapping, and a custom legend created with `symbol`. The data is loaded from a remote CSV URL and parsed using `csvParse`.
AI-generated description