Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

bdad5b5920284185b8cb15f7579b2a9b

Fork of HTML Starter

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

This visualization displays political donation amounts across major sports leagues (NBA, NFL, MLB, NHL, WNBA, NASCAR), with a multi-line chart grouping donations by party affiliation. Using D3 v6 with SVG rendering, the code loads data from a CSV file, applies time and linear scales, and uses `d3.group` to nest entries by party before drawing line paths with `d3.line`. Axes are generated with `d3.axisBottom` and `d3.axisLeft`.

AI-generated description