🌍 Public
Viewing a saved revision (read-only)
4be836c362154b15b4d14a541a248f2e
Winter Olympics Participants - Iterate
This visualization displays the number of participant countries in each Winter Olympics from 1924 to 2018, with each circle representing a year. The code computes participant counts by aggregating unique country names per year using a JavaScript `Set` within a `reduce` operation. It uses D3.js scales and axes to map years and counts, and renders circles with a fixed radius and reduced opacity to show the trend. Data comes from a Kaggle dataset of Winter Olympic medals.
AI-generated descriptionDataset - https://www.kaggle.com/datasets/ramontanoeiro/winter-olympic-medals-1924-2018
- Added opacity
- Changed background and circle colors
Challenge - I am not able to figure out how to