Skip to main content
100%

Multiples Barchart

✓ Published0🌍 Public
TThanaporn-sk
Last edited Jan 18, 2017
Created on Jan 18, 2017

This visualization compares the monthly prices of three technology stocks (Microsoft, Amazon, and IBM) from 2000 to 2010. It presents the data as a series of small multiples, with each stock’s price trend shown in its own horizontally stacked panel, using a blue color scale from ColorBrewer. The chart renders with SVG and includes a radio-button interface that animates the display, smoothly transitioning the multiples into a single stacked bar chart. Built with D3 v3, the code leverages `d3.layout.stack`, `d3.time.scale`, and the `d3.transition` API for the interactive morphing effect.

AI-generated description

Example of a stacked bar chart that can be divided into multiples. All credits for this go to Mike Bostock.

forked from <a href='http://bl.ocks.org/davo/'>davo</a>'s block: <a href='http://bl.ocks.org/davo/e81dfed1d94605a6ecb4e6dc31228f5d'>Multiples Barchart</a>

mit Licensed

Similar vizzes