Skip to main content
100%

custom chart v2.0

✓ Published0🌍 Public
PPabloEscargot
Last edited Jan 2, 2020
Created on Jan 2, 2020
Forked from custom chart v2.0

A custom SVG chart visualizes cricket batting performance across an innings, with each batsman represented by a horizontal bar positioned by their first ball faced and sized by innings length and runs scored. The bars stack vertically based on cumulative runs before each batsman, showing their contribution relative to the team total. The visualization uses d3.csv to load the data, d3.scaleLinear for both x and y positioning, and SVG rectangles appended via d3.selectAll and data joins, with the axis scales hardcoded to a 300-ball innings.

AI-generated description
MIT Licensed

Similar vizzes