Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BMI by Age

Public visualization

Viewing a saved revision (read-only)

edd2b751d0fa47c5ad8a84cd39bdba9e

BMI by Age

0 stars1🌍 Public
MManideeprenikindi
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This example demonstrates how to compute and display the average sepal length for each iris species using D3. It loads data from a CSV file via a fetch request and parses it with the `csvParse` API. The visualization uses D3's `flatRollup` and `sum` functions to aggregate the data, then renders the resulting summary as a JSON string in a `<pre>` element. The code demonstrates loading D3 from UNPKG and using 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.