Skip to main content
100%

playing with json

✓ Published1🌍 Public
PPabloEscargot
Last edited Jan 5, 2020
Created on Jan 5, 2020
Forked from custom chart v2.3

This visualization displays cricket batting data from a T20 match, showing each batsman’s innings as a horizontal bar spanning from their first to last ball faced. The bar’s height and color encode runs scored before dismissal and strike rate, respectively, using a sequential color scale. Circles mark the final ball of each innings, while text labels annotate standout performances. The chart is rendered as SVG using D3 v5, with data parsed from CSV and scales built via `d3.scaleLinear` and `d3.scaleSequential`, axes via `d3.axisLeft` and `d3.axisBottom`, and color interpolation from `d3.interpolateRdYlGn`.

AI-generated description
MIT Licensed

Similar vizzes