D3 Scatter plot
✓ Published1🌍 Public
This example visualizes the Iris dataset as a scatter plot, mapping petal length to the x-axis and sepal length to the y-axis. Each flower is rendered as a small circle using SVG. The code fetches the CSV data via D3’s `csv` function, parses numeric fields, and creates linear scales with `scaleLinear` and `extent` to set the domains. Axes are drawn with `axisLeft` and `axisBottom`, and all rendering is handled through D3 selections within a React-free HTML page.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed