Skip to main content
100%

Fork of Stylized Scatter Plot

✓ Published0🌍 Public
IIrene-zou
Last edited Mar 22, 2021
Created on Mar 22, 2021

This example shows a scatter plot of the Iris dataset, mapping petal length against sepal width for individual flowers. The visualization uses React to render SVG circles positioned with D3’s `scaleLinear` and `extent` functions, while axis components generate ticks via `xScale.ticks()`. The code relies on `d3.csv` to load data from a GitHub gist, applies a custom tick formatter using D3’s `format` for compact notation, and styles marks with a fixed teal fill and a `title` element for tooltips.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes