Skip to main content
100%

Polished Scatter Plot with Menus and Colors

✓ Published1🌍 Public
Sstephanie0215
Last edited Oct 1, 2022
Created on Oct 1, 2022

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 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