🌍 Public
Viewing a saved revision (read-only)
376c003f2d894dcbb2975005f6d8f87b
Fork of HTML Starter
This bar chart displays the average runs scored by cricket players, grouped by their country of origin. Built with D3 v7, the visualization aggregates data from a CSV file using `d3.rollups` and `d3.mean` to compute country-level averages. The SVG rendering uses `d3.scaleBand` for the categorical x-axis and a sequential color scale to encode the average runs value, with interactive tooltips appearing on mouseover.
AI-generated description