ICE-7 Line chart-Srinivas
✓ Published0🌍 Public
This line chart displays the number of runs Sachin Tendulkar scored each year, using a blue line plotted over an SVG canvas. The x-axis represents years, scaled with d3.scaleTime, while the y-axis shows runs, scaled with d3.scaleLinear. Data is loaded asynchronously from a CSV file using d3.csv. Axes are generated with d3.axisBottom and d3.axisLeft, and the line path is constructed with d3.line. The chart includes labeled axes and grid lines rendered via tick marks.
AI-generated descriptionMIT Licensed