Scatterplot with Color
✓ Published1🌍 Public
This scatterplot visualizes the Iris flower dataset, mapping sepal length and width across the x- and y-axes while encoding species with a categorical color scale. Each point is an SVG circle rendered through React components, with axes built using custom `AxisBottom` and `AxisLeft` components that leverage `d3.scaleLinear` for positioning. The code loads the CSV via `d3.csv`, applies numeric parsing, and uses `d3.scaleOrdinal` to assign distinct colors to each species. Hovering reveals tooltips formatted with `d3.format` to abbreviate large numbers.
AI-generated descriptionA program that loads in some data about CSS colors
MIT Licensed