Skip to main content
100%

Fork of React & D3 Starter

✓ Published0🌍 Public
JJasvitha Allamsetty
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from React & D3 Starter

This example demonstrates a React and D3 starter template that integrates decoupled React and D3 patterns, using industry-standard ES modules and JSX for scalable project complexity. The visualization renders axes via `d3.axisLeft` and `d3.axisBottom`, with scales applied from a main App component that passes dimensions and margins as props. The chart is drawn to a DOM element using React’s `ReactDOM.render`, while D3 handles the SVG axis updates. The setup is designed for copy-paste into existing projects, showing a clean separation between React’s state management and D3’s imperative rendering.

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