D3 Scattering
✓ Published0🌍 Public
This scatterplot displays the Iris dataset, plotting petal length against sepal length with 10-pixel circles. It loads CSV data asynchronously using d3.csv, transforms numeric fields via a custom parseRow function, and applies d3.scaleLinear with d3.extent to map data ranges to the full browser viewport. The visualization renders SVG circles through d3.selectAll and data joins, with axes omitted. The code uses D3 v7 within an HTML page, sizing the SVG to window.innerWidth and window.innerHeight.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed