Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

custom chart v2.1

Public visualization

Viewing a saved revision (read-only)

1ce0a420cf60439690a9c50304b398ce

custom chart v2.1

0 stars1🌍 Public
PPabloEscargot
Last edited Dec 29, 2019
Created on Dec 29, 2019
Forked from custom chart v2.0

This example visualizes a cricket batting innings by mapping each batsman’s performance as a rectangular block. The chart shows the number of runs scored (rectangle height) against the sequence of balls faced, with each player’s block positioned according to their first ball and cumulative team runs. Using d3.csv, d3.scaleLinear, and SVG rectangles, the code computes scales from the parsed data to render the custom chart. The visualization relies on data.csv containing batting statistics and displays the progression of individual contributions across the innings.

AI-generated description