fCC D3 Project #2: Scatterplot Graph
This scatterplot visualizes the performance of professional cyclists, plotting race times against years. The time to complete the course is mapped on the y-axis using a time scale, while the x-axis uses a linear scale for the year. The graph distinguishes between riders with doping allegations in blue and those without in red, and includes a legend for clarity. Data is fetched from the freeCodeCamp cyclist-data.json. The visualization is built with D3.js (version 7.9.0), using the `scaleTime` and `scaleLinear` APIs, and renders an SVG with tooltips that display rider details on hover.
AI-generated descriptionAlmost done. Need to make the tooltip part.
Update: I finally finished the project.
Hats of to Dr. Curran Kelleher for the full tutorial. Helped me a lot in understanding how to handle D3.