Skip to main content
100%

HW1 : Interactive Polished Scatter Plot with Menus and Colors and Color Legend

✓ Published0🌍 Public

This interactive scatter plot visualizes the Iris dataset, allowing users to select which flower measurements to compare on the X and Y axes via dropdown menus. The plot displays all 150 data points, colored by species, with a legend that highlights a selected species while fading the others. Built with React and D3 v7, the visualization uses D3’s `scaleLinear` and `scaleOrdinal` to map data to coordinates and colors, and renders the chart as SVG.

AI-generated description

A program that loads in some data using D3 utilities, and uses REACT state to keep track of the data.

MIT Licensed

Similar vizzes