Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with colors

Public visualization

Scatter Plot with colors

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed