Skip to main content
100%

Ayush - Bar Chart for Assignment 4

✓ Published4🌍 Public
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.

MIT Licensed

Similar vizzes