Skip to main content
100%

Transforming Data

✓ Published1🌍 Public
BBhavanaGIrni
Last edited Jul 3, 2023
Created on Jul 3, 2023
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes