Skip to main content
100%

Activity 6 scatterplots

✓ Published0🌍 Public
Bbhargavipagolu2025@gmail.com
Last edited Oct 30, 2025
Created on Oct 29, 2025

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 description
MIT Licensed

Similar vizzes