Skip to main content
100%

React & D3 Starter

✓ Published0🌍 Public
AAnish Lamsal
Last edited Dec 17, 2022
Created on Dec 17, 2022
Forked from React & D3 Starter

A scatter plot of the Iris dataset shows sepal length against petal length, with each of the 150 flowers represented as a semi-transparent circle. The visualization demonstrates a decoupled React and D3 integration pattern, where React manages the SVG container and D3 handles the rendering logic. The code uses d3.csv for data loading, d3.scaleLinear for scaling, and d3.axisLeft and d3.axisBottom for the axes.

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