Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Transforming Data

Public visualization

Viewing a saved revision (read-only)

b450215b95fe4d6c92152cf1b51c2808

Transforming Data

0 stars0🌍 Public
VVenkat-Sumith-Thota
Last edited Jun 24, 2023
Created on Jun 24, 2023
Forked from Hello VizHub

This example demonstrates data transformation by computing the average sepal length for each species of iris and displaying the results as a JSON summary. The visualization uses the D3.js library (v7) with `csvParse` to load the data, and `flatRollup` with `sum` to aggregate values. The code also showcases modular ES6 imports, loading D3 from UNPKG, and demonstrates VizHub's workflow of fetching a CSV file and rendering the result with a `join` operation.

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.