Scatterplot in react d3
✓ Published1🌍 Public
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 descriptionSctterplot in react d3
MIT Licensed