Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 + React

Public visualization

Viewing a saved revision (read-only)

3102144eb1cf461abe3ff566c1d9559b

D3 + React

0 stars0🌍 Public
SSubhendu Karmakar
Last edited Feb 7, 2024
Created on Feb 7, 2024
Forked from React Starter

This example shows a scatterplot of the classic Iris dataset, plotting sepal length against petal length. It uses React for component structure and state management, while D3 modules handle the data-driven visualization: `d3.csv` loads the data, `d3.scaleLinear` and `d3.extent` set the scales, and `d3.axisLeft`/`d3.axisBottom` draw the axes. The SVG circles are rendered via D3 selections within a React effect, bridging the two libraries.

AI-generated description

React Starter code.

MIT Licensed