Skip to main content
100%

Radial Stacked Bar

✓ Published0🌍 Public
Mmbostock
Last edited Feb 26, 2019
Created on Dec 16, 2016

This radial stacked bar chart displays the age distribution of each U.S. state’s population as concentric arcs. The visualization uses a d3.radial scale to map population totals from the inner to outer radius, while d3.stack and d3.arc render the stacked segments between angular bands. State labels rotate around the circle, and circular gridlines mark population tick values. The data comes from a CSV file, rendered as SVG using D3 v4.

AI-generated description

This is a radial variant of my earlier example stacked bar chart. While pretty, you probably don’t want to use this version because it’s easier to compare the bars when they share an aligned (linear) axis. You might consider this form if your ordinal axis is cyclical, such as weeks of the year, and you want to show a cyclical pattern. This example’s data is not cyclical, so the use of a radial form here is rather gratuitous!

gpl-3.0 Licensed

Similar vizzes