Skip to main content
100%

Stylized Scatter Plot

✓ Published1🌍 Public
JJanet Li
Last edited Aug 24, 2021
Created on Aug 24, 2021
Forked from Stylized Bar Chart

This stylized scatter plot visualizes measurements from the classic Iris flower dataset, mapping sepal length on the x-axis and sepal width on the y-axis. Each circle represents an individual flower sample, with axes rendered using reusable React components that leverage D3’s scaleLinear, extent, and tick-generation utilities. The SVG visualization loads data asynchronously via d3.csv within a React useEffect hook, using state to manage the parsed dataset. Styling includes Poppins typography, custom tick colors, and teal marks, with tooltips displaying formatted sepal length values via SVG title elements.

AI-generated description

A program that loads in some data about iris flowers using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes