Skip to main content
100%

Grouped bar chart v4

✓ Published0🌍 Public
RRenonDis
Last edited Feb 1, 2018
Created on Feb 1, 2018

This grouped bar chart visualizes ten samples across five series, with random data generated directly in the code using `d3.range` and `Math.random`. Rendered as an SVG, the chart uses `d3.scaleBand` for both the outer and inner axes, while a `d3.scaleOrdinal` maps a categorical color palette to the series. The animation is achieved through a chained `transition()` call with staggered `delay()` on the rectangles, which grow from the bottom to their final heights. The chart leverages the d3.v4 library and follows the classic grouped bar layout adapted from a bl.ocks example.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/2f94c1913b81f7fd20c530236934433a'>Grouped bar chart v4</a>

mit Licensed

Similar vizzes