Skip to main content
100%

Fork of Fork of React & D3 Starter

✓ Published0🌍 Public
CCheng Tang
Last edited Nov 1, 2022
Created on Nov 1, 2022

This example demonstrates a React and D3 starter template for building scalable data visualizations with decoupled integration. It displays a scatterplot of flower measurements from the classic Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis using `d3.scaleLinear` and `d3.extent`. Circles represent individual data points, with axes generated via `d3.axisLeft` and `d3.axisBottom`. The visualization uses React versions 18.1.0 and D3 version 7.4.4, rendering in SVG. The architecture separates React components from D3 logic, showcasing patterns for handling complexity as projects grow.

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