🌍 Public
Viewing a saved revision (read-only)
358c8ac9b380429b95e6dc0e7e34a2b3
ASD
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