Skip to main content
100%

Reusable D3 Scatterplot

✓ Published1🌍 Public
MMatthew Bruffey
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from D3 Scatterplot

This scatterplot displays the Iris dataset, plotting petal width against sepal length and encoding species with distinct symbols. Built as a reusable React component, it uses the D3.js library’s `scaleLinear`, `axisLeft`, `axisBottom`, and `scaleOrdinal` APIs, with marks rendered as SVG paths via the `symbol` function. The chart automatically sizes to the browser window, applies margins, and includes labeled axes, regenerating whenever input parameters change.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes