Version three - part 2: Winter Olympics Gold Medal Count For Selected Country
This interactive line chart displays the Winter Olympic gold medal counts for a selected country between 2002 and 2014, highlighting performance trends across four games. A dropdown menu lets users choose a country, updating the visualization to show that nation’s medal trajectory. Built with React and D3 v5, the chart uses `d3.line`, `d3.scaleLinear`, and `d3.nest` to render SVG paths and circles, with data sourced from a Kaggle dataset on Olympic games.
AI-generated descriptionThis line chart uses d3 with menu.
Data and Description
It shows the number of gold medals in the Winter Olympics for a particular country from 2002 to 2014. It aims to highlight the changes in the number of gold medals in the Winter Olympics in various countries. The data is collected by olympic data. This line refers to the trend of the number of gold medals. The user can use the menu to select the country. The data is extracted from kaggle.
Note
All counts are based on athletes, not events. For example, if a country wins the swimming 4X100M freestyle relay, the number of athletes who have won medals for that event is 4. The goal is to measure how many athletes performed well in the Olympics, participated in various events, and won medals in the events.