Grouped Horizontal Bar Chart with D3 V4
✓ Published0🌍 Public
CChandrakantThakkarDigiCorp
Last edited Jul 1, 2017
Created on May 25, 2017
This example shows a grouped horizontal bar chart comparing two teams’ runs across ten overs, with each group’s bars colored distinctly and a legend identifying the teams. Built with D3 v4 and jQuery, it uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis, rendering SVG rectangles that update on window resize. Tooltips are attached via a custom `horBarTooltip` module to reveal exact values on hover.
AI-generated description