Activity 6 scatterplots
✓ Published0🌍 Public
This scatterplot visualizes the Iris dataset, mapping sepal length on the x-axis against petal length on the y-axis, with each species represented by a distinct symbol shape. The visualization uses d3.scaleLinear for both axes and d3.scaleOrdinal with symbolsFill to differentiate species. It loads CSV data via fetch and d3.csvParse, then renders the plot through a custom scatterPlot function that calls axes and shapeLegend modules. The shape legend displays the species mapping, while d3.axisBottom and d3.axisLeft provide the labeled axes.
AI-generated descriptionMIT Licensed