As of Version 7.0, PercentileBarChart has been superseded by BarChart.


generates a stacked bar chart of the data in the lists. The data for each group of bars is scaled so that the sum of the absolute values in a group of bars is 1.

Details and Options

  • To use PercentileBarChart, you first need to load the Bar Charts Package using Needs["BarCharts`"].
  • PercentileBarChart has the same options as Graphics with the following additions:
  • BarStyleAutomaticstyle for the bars
    BarSpacingAutomaticratio of bar width to space bars in a group
    BarGroupSpacingAutomaticspacing between groups of bars
    BarLabelsAutomaticlabels at tick marks for each bar (or group)
    BarValuesFalsewhether to show the length of each bar
    BarEdgesTruewhether edges are drawn around each bar
    BarEdgeStyleOpacity[0.5]style for the bar edges
    BarOrientationVerticaldetermines horizontal or vertical orientation
  • Each listi is a list of numbers or numeric values. For example: {1,7,-4,2,3}.
  • The listi need not have the same length.
  • The heights of all the groups of bars in an PercentileBarChart are the same.


Basic Examples  (1)

Chart sets of values:

The total height is always the same, but negative values will display below the axis:

The sets need not have the same length:

Wolfram Research (2008), PercentileBarChart, Wolfram Language function,


Wolfram Research (2008), PercentileBarChart, Wolfram Language function,


Wolfram Language. 2008. "PercentileBarChart." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2008). PercentileBarChart. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_percentilebarchart, author="Wolfram Research", title="{PercentileBarChart}", year="2008", howpublished="\url{}", note=[Accessed: 26-May-2024 ]}


@online{reference.wolfram_2024_percentilebarchart, organization={Wolfram Research}, title={PercentileBarChart}, year={2008}, url={}, note=[Accessed: 26-May-2024 ]}