Skip to main content
100%

BIS Derivative Data using Mike Bostock's stacked to multiple bar

✓ Published0🌍 Public
AAjayyy
Last edited Jun 16, 2019
Created on Jun 16, 2019

A small multiple and stacked bar chart comparison of Bank for International Settlements (BIS) over-the-counter derivative statistics, sourced from a CSV file, shows notional amounts by instrument from 1998 to 2013. An interactive radio button toggles between the two layouts, animating the transition with a 750ms duration. The visualization uses D3 v3 APIs including `d3.layout.stack`, `d3.svg.axis`, and ordinal/linear scales, with SVG rendering and color-matching to the original BIS publication via Jason Davies' eyedropper tool.

AI-generated description

BIS Derivative Data

Explore Using Mike Bostock's Stacked to Multiple Bar Example

To make this work, I had to change up the data transformation. Also, I changed the stack to use the entire height. Thanks to Jason Davies eyedropper I was able to match the colors used in the original BIS publication.

Data Source

BIS OTC Derivatives statistics

forked from <a href='http://bl.ocks.org/timelyportfolio/'>timelyportfolio</a>'s block: <a href='http://bl.ocks.org/timelyportfolio/5586845'>BIS Derivative Data using Mike Bostock's stacked to multiple bar</a>

mit Licensed

Similar vizzes