Skip to main content
100%

Line Chart Visualization for Each Match

✓ Published0🌍 Public
PParth Shroff
Last edited Dec 12, 2024
Created on Dec 10, 2024

This interactive visualization displays line charts for cricket matches, showing runs scored per over across each match in a selected city. Users choose a city and match details from dropdown menus, and the chart updates accordingly with scaled axes and a gray background. The code uses D3’s `select`, `line`, and `scaleLinear` APIs to generate the lines and axes, with data from an imported dataset. Axis labels are added via the `@curran/axis-labels` library, and the visualization dynamically filters and redraws the chart based on user selections.

AI-generated description

Implemented the line graph chart for each match of each city where you can see runs scored through each over in that particular match.

MIT Licensed

Similar vizzes