Skip to main content
100%

Hours Spent by the Teenagers

✓ Published0🌍 Public
Aanith462@gmail.com
Last edited Jul 27, 2023
Created on Jul 27, 2023
Forked from Hello VizHub

This chart visualizes the average body mass index (BMI) of teenagers across different ages, using a binned histogram where each bar represents the average BMI for a specific age group. The visualization loads data from a CSV file and processes it to compute BMI values. The chart is rendered as an SVG using D3 v7, with linear scales for both axes, a time-based x-axis for age, and a y-axis for average hours spent. It demonstrates D3's bin, scaleLinear, scaleTime, axisLeft, axisBottom, extent, area, curveBasis, and sum APIs.

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