Skip to main content
100%

Version one: Top 20 Athletes

✓ Published1🌍 Public
RRuofan Chen
Last edited Nov 17, 2021
Created on Sep 19, 2021
Forked from Hello VizHub

This interactive bar chart displays the top 20 Olympic athletes ranked by total medal count, using data from a Kaggle dataset on Olympic Games. Each bar represents an athlete, colored by medal type, with tooltips revealing the athlete’s name, medal year, and event. The visualization is built with D3 v5 and Vega-Lite API, using `vl.markBar()` for rendering and `vega-tooltip` for interactivity. Data is filtered and aggregated client-side from a CSV source via `d3.csv`, with bars sorted descending by medal frequency.

AI-generated description

A barchart uses vega-lite-api.

Data and Description

This bar chart shows the top athletes and their medals. It's designed to emphasize the top athletes in olympic games which data is collected by olympic data. Each bar references an athlete.This is an interactive bar chart. When your mouse is pointed at the athlete's bar, it will display the athlete's name, the year of the medal and the event in which the medal was awarded.

The data is extracted from kaggle.

MIT Licensed

Similar vizzes