Skip to main content
100%

Transforming Data

✓ Published0🌍 Public
LLakshmanRangisetti
Last edited Jun 14, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

This example shows the average sepal length for each iris species from a CSV dataset of flower measurements. It first loads the data with `fetch` and parses it using `d3.csvParse`, then groups and aggregates the values with `d3.flatRollup` and `d3.sum`. The resulting summary is rendered as formatted JSON text inside a `pre` element using D3's `select` and data joins. The visualization demonstrates D3 v7 loading via UNPKG and local ES6 module imports.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes