Reusable Scatter Plot_iris data
✓ Published0🌍 Public
This example visualizes the Iris dataset as a scatter plot, showing sepal length against sepal width for individual flowers. It uses a reusable scatter plot component built with D3 v6 and React, where scales map data values to SVG circle positions. The code loads CSV data from a GitHub gist via `d3.csv` and applies `d3.scaleLinear` with `d3.extent` for domains. Circles are appended to an SVG container with margins and a transform for positioning.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed