Transforming Data
✓ Published0🌍 Public
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 descriptionExamples of various data transformation techniques, specifically binned aggregation.
MIT Licensed