As an example, we will create the Global Wealth Pyramid (Credit Suisse 2013) - a pyramid chart that visualizes how the world’s wealth is broken.
To create a pyramid chart, you will first need to plot the data that will be represented by the chart. For our example, this data is shown in the table below:
Number of People | Wealth owned (In trillion USD) |
---|---|
Top 32 mn (0.7%) | 98.7 |
Next 361 mn (7.7%) | 101.8 |
Next 1.1 bn (22.9%) | 33.0 |
Last 3.2 bn (68.7%) | 7.3 |
We will configure the "Number of People" as the label
of the chart and the “Wealth Owned” as the value
of the chart. The resultant Global Wealth Pyramid chart looks like this:
FusionCharts should load here..
Given below is a brief description of the attributes used to create the Global Wealth Pyramid chart:
Attribute Name | Description |
---|---|
value |
It is used to show the numerical value for the data represented by a pyramid segment. For example, for the slice representing the "Next 361 mn (7.7%)" people, the value will be 101.8. This attribute belongs to the data object. |
label |
It is used to specify the label to be be rendered for a pyramid segment, e.g. “Last 3.2 bn (68.7%)”. This attribute belongs to the data object. |
The data structure needed to create the above pyramid chart is given below:
...
There! You have now seen how you can create a simple pyramid chart.