🌍 Public
Viewing a saved revision (read-only)
ad5d3e2e98f24f06b8083a0a19796d8f
Transforming Data
This example loads the Iris flower dataset from a CSV file and computes the average sepal length for each species using `d3.flatRollup` and `d3.sum`. The result is displayed as a JSON-formatted text summary on the page. D3’s `csvParse` handles data loading, and numeric fields are explicitly converted to numbers. The visualization updates through React-style state management, with a loading placeholder shown before the fetch completes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.