Skip to main content
100%

activity 6

✓ Published0🌍 Public
Jjsangepavu@umassd.edu
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from Hello VizHub

This visualization displays the classic Iris dataset as a scatter plot, mapping sepal width on the x-axis against sepal length on the y-axis, with each of the three Iris species color-coded in distinct hues. The code uses d3.tsv to load the tab-separated data, d3.scaleLinear to create the axes, and d3.scaleOrdinal to assign colors to species. The reusable chart component builds an SVG with interactive elements like axis labels, a title, and a legend, rendered through D3 v7’s selection and data-binding APIs.

AI-generated description
MIT Licensed

Similar vizzes