Skip to main content
100%

D3 Scatter Plot

✓ Published5🌍 Public
Ppawelsapiecha
Last edited Nov 9, 2022
Created on Nov 6, 2022
Forked from HTML Starter

This interactive scatter plot visualizes the Iris flower dataset, mapping petal length to the x-axis, sepal length to the y-axis, sepal width to point radius, and petal width to color via `interpolateRainbow`. Built with React and D3 v7, it uses `scaleLinear` for all encodings and D3’s `csv` loader with a parse row function. The SVG rendering fills the viewport, with `axisLeft` and `axisBottom` producing labeled tick marks. Data is fetched from a GitHub gist and displayed at full window size.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes