Skip to main content
Public

Share visualization

Loading preview…

Transforming Data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Transforming Data

0
SSeekerzero
Last edited Jan 30, 2023
Created on Jan 30, 2023
Forked from Transforming Data

This visualization demonstrates how to use D3.js data transformation techniques to summarize the classic Iris flower dataset. It computes the average sepal length for each iris species using `d3.flatRollup` and `d3.sum`, then displays the resulting summary as formatted JSON text in a `<pre>` element. The code loads data from a local CSV file with `d3.csvParse` and showcases commented-out examples of other transformations like `d3.bin`, `d3.extent`, and `d3.group`.

AI-generated description

Examples of various data transformation techniques, specifically binned aggregation.

Comments

Sign in to join the discussion.

MIT Licensed