Skip to main content
100%

Scatter Plot with colors

✓ Published0🌍 Public
SSushan Prajapati
Last edited May 25, 2021
Created on May 25, 2021

This scatter plot displays the Iris Dataset, showing the relationship between petal length and sepal width, with dots colored by species. The visualization loads data asynchronously with `d3.csv` inside a React hook, then renders SVG circles through React components. Scales use `d3.scaleLinear` for both axes and `d3.scaleOrdinal` for categorical colors. Axis components generate ticks and labels using D3’s `scale.ticks()` method, while formatted numbers come from `d3.format`.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes