Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

3f37dcf6b15a46588f6b4ba23b263f16

Fork of Reusable D3 Scatter Plot

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