Skip to main content
100%

Activity6_3

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

This example shows the relationship between age and average body mass index (BMI) in a bar chart, using data loaded from a CSV file. It calculates BMI from height and weight fields, then uses `d3.bin` to group ages into bins and plots the mean BMI for each bin. The chart is rendered with SVG in D3 v7, with linear scales for both axes, custom tick formatting, and styled bars and labels.

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