Skip to main content
100%

Fork of React & D3 Starter

✓ Published0🌍 Public
DDeegutla123
Last edited Jun 25, 2022
Created on Jun 25, 2022
Forked from React & D3 Starter

This visualization is a scatter plot of the Iris dataset, showing the relationship between sepal length and petal length. It is built using a React front-end with a D3.js backend, where React manages the SVG canvas and D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions handle the scaling and axes. The code demonstrates a decoupled architecture, using a `useData` hook to load CSV data and a `viz` function to render circles and axes, highlighting a pattern for scaling complexity in real-world projects.

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