Transforming Data
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed