dv.25 - scatter plot: petals
✓ Published1🌍 Public
A scatter plot of the Iris dataset displays petal length on the x-axis and petal width on the y-axis, with each point colored by species and showing tooltips on hover. Built with React and D3 v6, it uses scaleLinear for axes, scaleOrdinal with schemeCategory10 for species colors, and scaleLinear for spacing. SVG circles render the marks, while custom AxisBottom and AxisLeft components generate tick lines and labels. The data loads as CSV via d3.csv.
AI-generated descriptionMIT Licensed