Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Scatter Plot

Public visualization

Fork of Stylized Scatter Plot

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed