Skip to main content
100%

Reusable chart

✓ Published0🌍 Public
Bbjfmbeck
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from scatterplot

This interactive scatter plot visualizes the Iris flower dataset, mapping petal length against sepal length with points colored by species. The visualization is built using React and D3, employing a reusable chart pattern where a `scatterPlot` function generates the SVG rendering. The code uses D3's `csv` loader to fetch data, `scaleLinear` for axes, and `axisLeft`/`axisBottom` for tick marks. The chart connects D3 data joins with CSS classes for species-based color coding, demonstrating a modular approach to building configurable visualizations in React.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes