Fork of D3 Scatter Plot
✓ Published1🌍 Public
This example visualizes the Iris flower dataset as a scatter plot, mapping petal length on the x-axis against sepal length on the y-axis. Circles are rendered in SVG, with each point labeled by its exact coordinate values via a title tooltip. Built with D3 v7 and React, the visualization uses `d3.csv` to load data, `scaleLinear` for coordinate mapping, and `extent` to compute domains. Axes are generated through `axisLeft` and `axisBottom` functions, while the page adapts to the full browser viewport by using `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed