Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

American Sports Polltical Donations

Public visualization

Viewing a saved revision (read-only)

9ce88f24e11d44fcb891eb583b2f3fb0

American Sports Polltical Donations

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

This example visualizes political donation amounts across American sports leagues, broken down by political party affiliation. A stacked bar chart displays donation totals per party, with each league's contributions color-coded and labeled via an interactive legend. The chart uses `d3.stack`, `scaleOrdinal`, and `schemeCategory10` from D3 to process and render the data from a CSV file. Hovering over a color legend entry highlights the corresponding league's bars while fading others, using `flatRollup` for data grouping and `axes` from `@curran/responsive-axes` for chart scaffolding.

AI-generated description