tsk
✓ Published0🌍 Public
This example loads the classic Iris flower dataset from a CSV file and computes the average sepal length for each species using d3.flatRollup and d3.sum. The resulting summary is rendered as JSON text in a pre element, demonstrating asynchronous data loading with fetch, parsing with d3.csvParse, and state management through a simple setState pattern. The visualization is built with d3.v7 and local ES6 modules.
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