Skip to main content
100%

Scatterplot in react d3

✓ Published1🌍 Public
AAnimesh Nautiyal
Last edited Oct 16, 2020
Created on Oct 15, 2020
Forked from React Starter

This interactive scatterplot displays the Iris dataset, plotting sepal width against a user-selected attribute (petal width, sepal length, etc.) via a dropdown menu. Each flower is rendered as a circle, colored by species using a d3.scaleOrdinal. Built with React and D3 v6, the visualization loads CSV data from a GitHub gist, applies linear scales using d3.scaleLinear, and renders SVG circles for marks. The dropdown updates a React state hook, which dynamically adjusts the x-scale domain and re-renders the chart.

AI-generated description

Sctterplot in react d3

MIT Licensed

Similar vizzes