Skip to main content
100%

HW1-iris.csv

✓ Published1🌍 Public
Aaddword527
Last edited Dec 30, 2020
Created on Oct 2, 2020
Forked from HTML Starter

This visualization displays the classic Iris dataset as a scatterplot, plotting one of four flower measurements (sepal or petal length/width) against another on each axis. The chart uses D3 v5 to render the SVG, with `d3.csv` fetching data from a GitHub-hosted CSV file, `d3.scaleLinear` handling axis scales, and `d3.scaleOrdinal` mapping flower species to distinct colors. A dropdown-menu interface (`<select>` elements in the HTML) lets users dynamically change which measurement appears on the x-axis or y-axis, triggering a full redraw of the plot.

AI-generated description
MIT Licensed

Similar vizzes