interactive Bar Chart
This interactive bar chart illustrates the cumulative number of Tour de France wins per country from 1903 to 2023. A slider allows viewers to select a specific year, dynamically updating the horizontal bars to reflect the total wins for each nation up to that point, with years when the race was not held clearly annotated. The visualization uses the D3.js v6 library, leveraging `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` for chart construction. Bar transitions are animated via the `.transition()` method, and the data originates from a CSV file containing country-wise win totals per year.
AI-generated descriptionI'm curious about the how dominate different nations have been in The Tour de France. This file contains a bar chart that updates as you move the time slider that shows the total number of wins per coutnry.
An additonal file for this project can be found here: <a href="https://vizhub.com/georgeb3ck/b27afe8ff3d74a778e813e40d88cc044">line chart</a>