Activity 7.1 Question 2
✓ Published0🌍 Public
This area chart displays the batting average of Indian cricketer MS Dhoni in One Day Internationals from 2010 to 2019. The chart uses a steel-blue filled area to show the trend over time, with the year on the x-axis and the average on the y-axis. The code builds the visualization using the D3.js library (v7), specifically employing `scaleTime`, `scaleLinear`, `area`, `axisBottom`, and `axisLeft` to construct the scales, area path, and axes. Data is loaded from a CSV file hosted on GitHub, and the chart is rendered as an SVG.
AI-generated descriptionMIT Licensed