Skip to main content
100%

D3 Partial Scatter Plot

✓ Published1🌍 Public
CCurran Kelleher
Last edited May 1, 2021
Created on May 1, 2021
Forked from HTML Starter

This example renders a scatter plot using D3 version 6 within a React-compatible setup, drawing circles with SVG. It loads the Iris dataset from a GitHub Gist, parses numeric fields, and maps petal length to the x-axis and sepal length to the y-axis using `d3.csv` and `d3.scaleLinear`. The code uses `d3.extent` for domain calculation and `d3.select` to append and join circle elements, with each point positioned via scaled coordinates.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes