🌍 Public
Viewing a saved revision (read-only)
f495c026a9f745a487d0d9350bd89e06
Transforming Data
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.