Untitled
✓ Published0🌍 Public
This interactive bar chart displays the top 30 cricket batters based on a selected statistic, such as runs, centuries, or strike rate. A dropdown menu lets viewers switch between metrics, triggering a smooth transition that re-sorts and re-scales the bars. The visualization uses D3.js to load CSV data from GitHub, bind it to SVG rectangles, and update axes, bars, and values dynamically. Hovering over a bar reveals a tooltip with the player’s name and their exact figure for the chosen stat. The entire interface is built with HTML, CSS, and React.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed