Skip to main content
100%

fresh block

✓ Published0🌍 Public
GGoomble
Last edited Mar 19, 2017
Created on Mar 19, 2017

A small SVG bar chart displays three horizontal stacked bars for consecutive months, with two colored series per month. The chart uses a custom d3.layout.stack() transform to compute stacked sums, then maps each bar’s width to its value and positions groups via d3.scale.ordinal() and rangeRoundBands. A yellow legend panel lists series names with color swatches, and hovering a segment updates a tooltip via d3.select() and d3.classed(). Data is hardcoded as JavaScript arrays in the block.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes