Skip to main content
100%

Fork of React & D3 Starter

✓ Published1🌍 Public
IIndhuKrishnaraj
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from React & D3 Starter

This example demonstrates a scatter plot of the Iris dataset, using sepal length and petal length as the x and y axes. It serves as a starter template for scalable React and D3 projects, showcasing a decoupled integration pattern. The visualization renders as an SVG, with D3 v7 handling scales, axes, and circles, while React manages the component lifecycle and data loading. The code uses `scaleLinear`, `axisLeft`, and `axisBottom` from D3, and `csv` for data parsing.

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