Scatterplot with color
✓ Published1🌍 Public
This interactive scatterplot displays the Iris flower dataset, allowing users to compare any two measured attributes (sepal and petal length/width) by selecting them from dropdown menus. Each flower is rendered as a colored circle, with species distinguished through a d3.scaleOrdinal color mapping. The visualization uses React state to manage selections and render SVG marks, while d3.csv loads the data and d3.scaleLinear scales map attribute values to x and y positions. Axes are generated manually from d3 scale ticks, and hover tooltips show formatted values via SVG `<title>` elements.
AI-generated descriptionA program that loads in some data using d3 utilities and use react state to store the data
MIT Licensed