Skip to main content
100%

tsk

✓ Published0🌍 Public
Iindushashi.g@gmail.com
Last edited Jun 12, 2023
Created on Jun 12, 2023
Forked from Hello VizHub

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 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