Skip to main content
100%

Activity-6

✓ Published0🌍 Public
SSharankumar02
Last edited Jun 14, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

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