Scatter Plot Template
✓ Published1🌍 Public
This scatter plot template displays the Iris dataset, plotting petal length against sepal length for individual flower samples, with hover tooltips revealing species names. The visualization uses D3 v7’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to map data coordinates to SVG circles within a full-window responsive layout. Data is loaded asynchronously via `d3.csv` from a remote GitHub Gist, parsed with numeric coercion, and rendered using D3’s data-join pattern with `selectAll(...).join(...)` to bind circles and append titles. Axes are added as SVG groups with margin-based transforms.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed