Shares of a total / Stacked bars
Stacked bars
Use stacked bars to compare totals across items and see what each total is made of, with a switch to compare the mix instead.
Free (MIT) · Shares of a total · Adapts to mobile
The US and China tied on gold at Paris 2024, but the US won 35 more medals
Paris 2024 Olympic medals, top 12 nations by golds, count of medals
Each bar is one nation's medals stacked gold, silver, bronze; switch to % to compare the mix rather than the haul.
On phones: adapts to mobile with its own phone layout (Draws its own phone layout below 520px). Video formats: 16:9, best 16:9.
Motion: Gold segments grow first, then silver, then bronze; toggles and the % switch restack the bars smoothly.
Sound: A chime on toggles; a whoosh on the % switch; a pop on hover. Quiet while it draws and between steps; mute it from its card. Sound is off until the viewer turns it on.
Source: 2024 Summer Olympics medal table, Wikipedia (CC BY-SA 4.0), retrieved 2026-12-01. Ordered as the official table: by golds, then silvers. Twelve of the 92 teams (NOCs) that won at least one medal.
Data
| Country | Gold | Silver | Bronze | Code |
|---|---|---|---|---|
| United States | 40 | 44 | 42 | USA |
| China | 40 | 27 | 24 | CHN |
| Japan | 20 | 12 | 13 | JPN |
| Australia | 18 | 19 | 16 | AUS |
| France | 16 | 26 | 22 | FRA |
| Netherlands | 15 | 7 | 12 | NED |
| Great Britain | 14 | 22 | 29 | GBR |
| South Korea | 13 | 9 | 10 | KOR |
| Italy | 12 | 13 | 15 | ITA |
| Germany | 12 | 13 | 8 | GER |
| New Zealand | 10 | 7 | 3 | NZL |
| Canada | 9 | 7 | 11 | CAN |