D3 Scatter plot
✓ Published1🌍 Public
This scatter plot visualizes the Iris flower dataset by plotting petal length against sepal length. The visualization uses D3.js v7 with linear scales to map data values to screen coordinates, and SVG circles represent individual data points. The code demonstrates data loading and parsing via d3.csv with type coercion for numeric fields. Axes are generated using d3.axisLeft and d3.axisBottom, positioned according to defined margins, while the plot dynamically fills the browser window using window.innerWidth and innerHeight.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed