Skip to main content
100%

Mahendra Gullinkala - IC6

✓ Published0🌍 Public
Mmaheganesh
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from ICE-6 Bar Graph

This visualization shows the highest runs scored by each of the top 20 cricket players, displayed as a horizontal bar chart with player names on the y-axis and run values on the x-axis. The chart uses React and D3 v5 to fetch CSV data from a GitHub gist, process it, and render SVG bars. D3’s `scaleBand` and `scaleLinear` handle the axis mappings, while `axisLeft`, `axisBottom`, and `max` are imported for layout and scaling calculations. The bars are drawn as SVG rectangles, with red tick gridlines and labels generated from the linear scale’s ticks.

AI-generated description

A whole smiley face

MIT Licensed

Similar vizzes