Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project

Public visualization

Project

0 stars0🌍 Public
Sstchiang
Last edited Apr 6, 2023
Created on Feb 28, 2023

This visualization displays the cumulative number of Stanley Cup playoff wins for each of the original six NHL teams across a sliding timescale from 1918 to 2018. A donut chart updates dynamically as a slider adjusts the year cutoff, with each team’s slice colored distinctly via `d3.scaleOrdinal` and `d3.schemeCategory10`. The code uses `d3.pie()` to generate arc data and `d3.arc()` to render paths, filtering and grouping the CSV data by team and year with `d3.groups`.

AI-generated description

Number of Stanley Cup playoff wins for each of the original 6 NHL teams. Uses d3-shape pie and arc generators.

Comments

Sign in to join the discussion.

MIT Licensed