Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatterplot

Public visualization

Reusable D3 Scatterplot

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

Comments

Sign in to join the discussion.

MIT Licensed