Skip to main content
100%

Fork of Scatter Plot with Color - Correct Version

✓ Published0🌍 Public
BBen Brophy
Last edited Jan 3, 2022
Created on Jan 3, 2022

This example displays the classic Iris dataset as a scatter plot of petal length versus sepal width, with points colored by species. The visualization uses SVG rendering within a React application, leveraging d3-scale functions like `scaleLinear` and `scaleOrdinal` for positioning and color encoding. Axis components are built with `d3.ticks` to generate tick marks, while the data is loaded asynchronously via `d3.csv` from a GitHub gist. The code also includes custom formatting with `d3.format` for the bottom axis labels.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes