Skip to main content
100%

Scatter Plot with Colors

✓ Published0🌍 Public
Ww.fukuyama@gmail.com
Last edited Jan 4, 2023
Created on Dec 16, 2022

This scatter plot displays the Iris dataset, comparing selected attributes such as petal length and sepal width, with each point colored by species. Interactive dropdowns allow users to switch the axes, while hovering over the color legend highlights points of that species and fades the others. Built with React and rendered as SVG, it uses D3's `scaleLinear` for axes and `scaleOrdinal` for the categorical color mapping, fetching the data via `d3.csv`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter. css named colors

scatter plot test

MIT Licensed

Similar vizzes