Splitting Charts (Part 1): Stacked & Grouped Bar Charts

Опубликовано: 01 Апрель 2026
на канале: Curran Kelleher
34,921
153

Code here: https://github.com/curran/screencasts...

Covers how to add an additional dimension of data to a bar chart. Rectangles are split into stacked bars using d3 nest and d3 stack layout, giving a new view into the breakdown of religions across the largest 5 countries.

Additional "goodies" include customizing a D3 number format, rotating tick mark labels, and creating color legends.

This tutorial assumes you already know the topics covered in a previous video, Introduction to D3    • Introduction to D3  

Recorded at Alpine Data Labs, Oct. 21, 2015. This event was part of the SF Big Analytics meetup.