Skip to main content
100%

Map TDF wins

✓ Published0🌍 Public
Gg_beck@coloradocollege.edu
Last edited May 12, 2024
Created on May 11, 2024

This example juxtaposes a world map with a scatter plot to explore Tour de France victories by country. Hovering over a country on the map highlights all its associated win-dots, while hovering over a dot highlights its country and enlarges the dot. The visualization uses `d3.geoEqualEarth` and `d3.geoPath` for the map, with a log color scale for country win counts. The scatter plot uses `d3.scaleLinear` and `d3.scaleOrdinal` axes, with interactive `mouseover` and `mouseleave` events linking the two views. Data includes world GeoJSON and cleaned TDF rider statistics.

AI-generated description

This is another part of my tour de france project.

This file is not finalized at all but is more of a proof on concept. Try mousing over dots and countries to see how the linking works. Mosuing over a country selects all from that country, whereas a dot, slects just that dot and the country.

MIT Licensed

Similar vizzes