Map TDF wins
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 descriptionThis 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.