Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Transforming Data

Public visualization

Viewing a saved revision (read-only)

9e41ede509444c7e99ce964fe0dea040

Transforming Data

0 stars0🌍 Public
Iindushashi.g@gmail.com
Last edited Jun 10, 2023
Created on Jun 10, 2023
Forked from Transforming Data

The visualization demonstrates how D3 data transformation APIs can reshape the Iris dataset, computing the average sepal length for each species via `flatRollup` and `sum`. After fetching the CSV with `fetch()`, the data is parsed with `csvParse` and converted to numeric types. Results are displayed as formatted JSON in a `<pre>` element, showing a concise summary of the aggregated values. The example highlights the use of `flatRollup` and `sum` from the D3 API to perform binned aggregation and group operations.

AI-generated description

Examples of various data transformation techniques, specifically binned aggregation.