Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Transforming Data

Public visualization

Viewing a saved revision (read-only)

d6309c329acc4f949f31d7d5f36b10c8

Fork of Transforming Data

0 stars0🌍 Public
VVarshareddy2912
Last edited Jun 21, 2023
Created on Jun 21, 2023
Forked from Transforming Data

This visualization shows the average sepal length for each Iris species in the classic Fisher dataset. The example fetches a CSV file and parses it with `d3.csvParse`, converting numeric fields, then uses `d3.flatRollup` with `d3.sum` and array length to compute the per-species mean. The result is displayed as a formatted JSON string inside a `<pre>` element, which re-renders whenever the data changes.

AI-generated description