Skip to main content
100%

Scatter Plot Tutorial

✓ Published1🌍 Public
AAriana
Last edited Jul 28, 2021
Created on Jul 28, 2021
Forked from Stylized Bar Chart

This scatter plot visualizes the iris dataset, mapping petal length on the x-axis and petal width on the y-axis for individual flowers. Built with React and D3 v5, it uses `scaleLinear` for axes, `extent` for domain calculation, and SVG circles for marks. The code defines reusable `AxisBottom`, `AxisLeft`, and `Marks` components, with data fetched asynchronously via `d3.csv`. Axes include formatted tick labels and rotated axis titles.

AI-generated description

A scatterplot of the iris dataset.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes