> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://staging.chrisp.chat/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I create a stacked bar chart?

A stacked bar chart is used to break down and compare parts of a whole. Each bar in the chart represents a whole, and segments in the bar represent different parts or categories of that whole. Different colors are used to illustrate the different categories in the bar.

To create a stacked bar chart, run a query with at least two indicators. Then go to ‘Settings’ while on the ‘Bar Chart’ visualization, and click on ‘Stacked’ in the ‘General’ tab under “Bar treatment”. The two (or more) indicator bars will be stacked on top of each other to form the stacked chart.