Skip to main content
Public

Share visualization

Loading preview…

Age Distribution Chart

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

Age Distribution Chart

1
Dddperdue
Last edited Mar 25, 2020
Created on Mar 25, 2020

This interactive stacked bar chart visualizes age distributions across different provinces or causes of death, depending on the dataset. Users toggle between raw counts and percentage views using radio buttons, triggering animated transitions via D3 transitions. The chart uses d3.layout.stack for stacking, d3.svg.axis for axes, and d3.scale.ordinal for categorical scaling. Data is loaded from CSV files, and bars are rendered as SVG rectangles with hover opacity effects.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed