Skip to main content
100%

Activity 6 task 5

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

This chart shows the average Body Mass Index (BMI) by age, computed from a CSV dataset of individual health records. The visualization bins ages into groups and displays the mean BMI for each bin as a blue bar, using a linear x-scale for age and a linear y-scale for BMI. Implemented with D3 v7, it imports utilities like `scaleLinear`, `bin`, `sum`, and `axisBottom` to bin data, compute averages, and render the axes and bars as SVG shapes. The chart is rendered through VizHub, with a styled baseline and clear axis 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