Skip to main content
100%

TEST

✓ Published0🌍 Public
YYang Shun Yu
Last edited Sep 18, 2023
Created on Sep 17, 2023
Forked from React & D3 Starter

A scatterplot of the classic Iris dataset displays sepal length against petal length, with each point colored according to species. The visualization uses React components for layout and legend rendering, while D3 v7 handles data loading, scaling, and SVG circle generation. Axes are drawn with d3.axisBottom and d3.axisLeft, and the color mapping uses d3.scaleOrdinal. The code demonstrates a decoupled React and D3 integration pattern suitable for scaling.

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