This page will help you choose the correct chart for ranking items based on numeric values. This is useful for identifying category items with the largest or smallest values.
We recommend using a bar chart to display a list of category items sorted by value (for example, a product ranking by revenue).
In the chart below, it is easy to:
- Understand that the category items are sorted by values.
- Identify the top-ranking countries and the lowest-ranking countries.
- See that all the countries in the middle have values that are very close together.
If you’re also interested in seeing how the values are distributed among category items, you can display a reference line that indicates the median.
Bar Chart vs. Column Chart
When the hierarchy does not contain many items, you can flatten it and use color to identify the first level of the hierarchy.
In the chart below, you can immediately grasp which top 3 countries have the highest values and that America has the smallest values.
The chart below is used in the Cash Management app and displays the liquidity forecast by outcome and income. Displaying the outcome and income seperately helps to identify which income and outcome are the biggest.
Ranking and Parts to Whole
If you want to know which items have the biggest values and how much of these items contribute to the total of the values, you can use a Pareto chart which is designed to illustrate the well-known 80%/20% rule (that is, 20% of the items contribute to 80% of the total).
The chart below displays the number of defects by type of defect, and we can see that 80% of the defects come from the first four types of defect.
Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.