Untitled
✓ Published1🌍 Public
An interactive bar chart displays the top 30 cricket players based on a selected batting statistic, including runs, centuries, half-centuries, sixes, highest score, average, strike rate, or duck outs. A dropdown menu triggers the `update()` function, which parses player data from a CSV, filters out zero values, and sorts by the chosen metric. Using D3.js v6, the chart animates bar height and position via `d3.transition()` with a one-second duration, while SVG axes are redrawn on a rotated x-axis.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed