Skip to main content
100%

Fork of React & D3 Starter

✓ Published0🌍 Public
GGuna
Last edited Feb 17, 2023
Created on Feb 17, 2023
Forked from React & D3 Starter

This example demonstrates a scatter plot of the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with circles colored by species. The visualization is built with React and D3 v7, using a decoupled architecture where React manages the SVG container and D3 handles scales, axes, and circle rendering via `d3.axisLeft`, `d3.axisBottom`, `d3.scaleLinear`, and `d3.extent`. Data is loaded asynchronously from a CSV file using `d3.csv`.

AI-generated description

This viz is a starter that demonstrates patterns used in real world projects in which complexity is anticipated to scale.

  • Decoupled React & D3 integration
  • Opening moves for scalable complexity
  • Industry standard ES modules and JSX
  • Copy-paste into existing projects

Any questions? Ask on Twitter!

Also viewable in:

MIT Licensed

Similar vizzes