Skip to main content
Public

Share visualization

Loading preview…

ICE6_11703795_BARGRAPH

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE6_11703795_BARGRAPH

0
MMeghanaChowdaryVelaga@my.unt.edu
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from PIE CHART

A bar chart displays average body mass index (BMI) by age, using orange rectangles to represent binned age groups. The visualization calculates BMI from weight and height data and aggregates it per age bin. Built with D3 v7, the code uses `scaleLinear`, `axisBottom`, `axisLeft`, and `bin` to construct the axes and data groups. The SVG output is rendered via the `select` and `append` API, drawing axes with tick marks and labeled "Average Body Mass Index" and "Age". Data is loaded from a CSV source.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed