🌍 Public
Viewing a saved revision (read-only)
8c7193f4e5f64ef3afd0e9d393fe3ff5
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