🌍 Public
Viewing a saved revision (read-only)
a5f782277e8d4a42b98490a0899d8912
Fork oftutorial 3.2, Scatter Plot with Shape
This example visualizes the Iris dataset as a scatter plot of sepal length against petal length, with each of the three species distinguished by a different symbol shape. The chart includes labeled axes and a separate legend mapping species names to their corresponding shapes. The visualization is built with D3 v7, using scaleLinear for axes, scaleOrdinal with symbolsFill for shapes, and d3.symbol to generate the marked points. Data is loaded asynchronously from a CSV file and parsed with d3.csvParse.
AI-generated description