Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ASD

Public visualization

Viewing a saved revision (read-only)

7649f77571d14e8f9e5a0285e07e2eaf

ASD

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

This bar chart shows campaign donation amounts by sports league, colored by political party affiliation (Democrat, Republican, Bipartisan, or N/A), with a legend indicating party colors. Hovering a bar reveals a tooltip displaying the league, party, and total donations for that league. Built with D3 v6, it uses `d3.select` to build the SVG, `d3.scaleBand` and `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for colors, and `d3.csv` to load the dataset, with interactive tooltips styled via CSS.

AI-generated description