Skip to main content
100%

Transforming Data

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

Similar vizzes