Skip to main content
100%

Manhattan Chart D3 V4

✓ Published0🌍 Public
CChandrakantThakkarDigiCorp
Last edited May 26, 2017
Created on May 25, 2017

This example shows a grouped bar chart comparing runs scored by two teams across 20 overs in a cricket match, with each bar colored by team and animated tooltips revealing detailed commentary on wickets and player performance. The visualization is built with D3 v4, using `d3.scaleBand` and `d3.scaleOrdinal` for layout and color, while a custom `barTooltip` handles mouseover events. Rendered as SVG within a resizable container, the chart updates on window resize and includes a legend generated from team metadata, with data sourced from an array of per-over statistics.

AI-generated description

Similar vizzes