Skip to main content
100%

Iris Data Scatter Plot

✓ Published2🌍 Public
Kkbrookshire420
Last edited May 10, 2022
Created on May 9, 2022
Forked from Stylized Bar Chart

This visualization shows the Iris dataset as a scatter plot, mapping petal length on the x-axis and sepal width on the y-axis. Each circle represents an individual iris flower, with a tooltip displaying the exact x-value on hover. The chart uses React state via `useState` and `useEffect` to load the CSV data through d3.csv, while d3.scaleLinear and d3.extent compute the scales. Axes are rendered as custom React components using SVG, with d3.format for tick labels and the Poppins font from Google Fonts.

AI-generated description

A program that loads in some data using d3 utilities, and uses react state to keep track of the data.

MIT Licensed

Similar vizzes