🌍 Public
Viewing a saved revision (read-only)
a7ea717a66df4ae3a540a45bfa135d6b
Polished Scatter Plot with Menus and Colors
This interactive scatter plot displays the Iris dataset, allowing users to explore relationships between sepal and petal measurements through drop-down menus that select which attribute appears on each axis. Points are colored by species using d3.scaleOrdinal, with circles rendered as SVG marks that include tooltips showing values. Built with React and D3 v7, the visualization uses React state to manage selected attributes and re-scale axes via d3.scaleLinear, with custom axis components generating ticks and labels.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses REACT state to keep track of the data.