Activity-6
✓ Published0🌍 Public
This example demonstrates how to load and parse a CSV dataset (the classic Iris flower measurements) into a D3.js visualization. It showcases a text-based output that reports the average sepal length per species, computed using the `flatRollup` and `sum` functions from the D3 API. The visualization also highlights the process of fetching data with `fetch`, parsing it with `csvParse`, and dynamically updating the display through a simple state management pattern.
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