Skip to main content
100%

D3 & React in the Real World

✓ Published0🌍 Public
PPedro Filho
Last edited Nov 17, 2023
Created on Nov 13, 2023
Forked from React & D3 Starter

This example demonstrates a scatter plot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis. It shows a decoupled integration pattern between React and D3, where React manages the component lifecycle and D3 handles the SVG rendering. The visualization uses D3 scales, axes, and circle elements within a React wrapper, with data loaded via D3’s CSV parser. This starter project highlights scalable patterns for real-world applications using ES modules and JSX.

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