Skip to main content
Public

Share visualization

Loading preview…

Fork of Interactive Stacked Bar 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

Fork of Interactive Stacked Bar Chart

0
Mmartipau@iu.edu
Last edited May 4, 2024
Created on May 4, 2024

This chart displays campaign donations from various sports leagues, grouped by political party affiliation, using a stacked bar chart. Each bar represents the total donation amount per party, with colored segments showing the league breakdown. Hovering over a league in the color legend highlights its corresponding segments and dims others. The visualization uses d3.flatRollup, d3.stack, and d3.scaleBand for aggregating and rendering the data from the sports-political-donations.csv source.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed