Fork of Chloropleth - TDF
This visualization pairs a choropleth map with a scatterplot to explore Tour de France rider data. The map shades countries by the number of riders, while the scatterplot plots winning margin against year. Hovering over either a country or a rider dot highlights corresponding elements across both views using shared IDs and D3 selections. The code uses `d3.geoEqualEarth` and `d3.geoPath` for the map, with SVG rendering driven by `d3.csv` and `d3.json` data loading.
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.