Skip to main content
100%

Transforming Data

✓ Published0🌍 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.

MIT Licensed

Similar vizzes