Skip to main content
Public

Share visualization

Loading preview…

Ayush - Bar Chart for Assignment 4

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

Ayush - Bar Chart for Assignment 4

3
Sshindeayush76@gmail.com
Last edited Feb 13, 2024
Created on Feb 7, 2024
Forked from Simple Bar Chart

This visualization shows the average fitness levels of males and females across six age groups ranging from 18 to 50 years old. The code imports and averages data from the `@ayush-shinde/cardio_data` package, aggregating individual fitness scores by gender within each age range. Using `d3.scaleBand`, `d3.scaleLinear`, and `d3.stack`, it renders grouped bar charts with steelblue bars for males and salmon for females. Interactive tooltips appear on mouseover, and a legend identifies the gender categories. The animation rendering reveals the comparative fitness trends between genders as age progresses.

AI-generated description

This a representation of the Average Fitness Levels of Male and Female over various age groups.

Comments

Sign in to join the discussion.

MIT Licensed