Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React & D3 Starter

Public visualization

Fork of React & D3 Starter

0 stars0🌍 Public
CCrystal Lee
Last edited Jul 6, 2022
Created on Jul 6, 2022
Forked from React & D3 Starter

This example visualizes the classic Iris dataset as a scatterplot, mapping sepal length to the x-axis and petal length to the y-axis. It serves as a starter template demonstrating a decoupled React and D3 integration pattern for scalable projects. The visualization uses D3 v7 scales and axes for rendering, while React manages component structure and data loading via the `useData` hook. Data is loaded from a CSV file using `d3.csv`, and points are drawn as semi-transparent circles using SVG.

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:

Comments

Sign in to join the discussion.

MIT Licensed