Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Mmax-31
Last edited Aug 28, 2022
Created on Aug 28, 2022

This scatter plot visualizes the Iris dataset from a GitHub gist, mapping petal length against sepal width. Species determine the symbol shape via `d3.scaleOrdinal` and `d3.symbols`. The React-based example uses a reusable `scatterPlot` function with configurable dimensions, margins, and value accessors, rendering axes through `d3.axisLeft` and `d3.axisBottom` into an SVG. Data loads asynchronously with `d3.csv` from a remote URL, with axes and points fully responsive to the window size.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes