🌍 Public
Viewing a saved revision (read-only)
53bdb9483b3c45769a8e93825fe33fd9
D3 Scatter plot
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.