🌍 Public
Viewing a saved revision (read-only)
afcc6d8e79df4cbc98d28fb4aa22f30f
Reusable D3 Scatterplot
This scatterplot displays the Iris dataset, plotting petal width against sepal length and encoding species with distinct symbols. Built as a reusable React component, it uses the D3.js library’s `scaleLinear`, `axisLeft`, `axisBottom`, and `scaleOrdinal` APIs, with marks rendered as SVG paths via the `symbol` function. The chart automatically sizes to the browser window, applies margins, and includes labeled axes, regenerating whenever input parameters change.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.