Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset from a GitHub gist, mapping petal length against sepal width. Species determine the symbol shape via `d3.scaleOrdinal` and `d3.symbols`. The React-based example uses a reusable `scatterPlot` function with configurable dimensions, margins, and value accessors, rendering axes through `d3.axisLeft` and `d3.axisBottom` into an SVG. Data loads asynchronously with `d3.csv` from a remote URL, with axes and points fully responsive to the window size.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed