Skip to main content
100%

Scatter Plot with Color

✓ Published1🌍 Public
MMorgan Worrell
Last edited Sep 1, 2023
Created on Sep 1, 2023

This example visualizes the Iris dataset, encoding petal length on the x-axis and sepal width on the y-axis. Each flower is a circle colored by its species using a categorical color scale. The visualization is built with React and D3 v5, using `scaleLinear` for axes, `scaleOrdinal` for colors, and `format` for tick labels. SVG primitives render the chart, while the data is loaded asynchronously via the `csv` utility.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render a scatter plot of the iris dataset.

MIT Licensed

Similar vizzes