Normalized bar chart

A normalized bar chart shows the contribution, as a percentage, of multiple measures in the total amount by period or category. Unlike a stacked bar chart, the proportion of segment ratios and not the total bar length is important for this type of chart. Segments are highlighted in different colors and located one after the other. The length of a segment indicates its ratio to the total amount represented as 100%. For example, the percentage of expenses in the annual budget.

normalized-horizontal-bar-chart

Source table
MonthGasolineRentFoodUtility bills
January 2019100600300500
February 2019150600250700
March 2019100600450400
April 2019120600370510
May 2019100600300530
June 2019130600310600
July 2019150600330510
August 2019120600250550
September 2019110650380500
October 2019120650300550
November 2019130650310540
December 2019100650400550

Or the percentage distribution of payment types across product subcategories.

normalized-horizontal-bar-chart-categories

Source table
SubcategoryDeliveryPickup
Beauty and health products615K373K
Kitchenware1929K1005K
Kitchen products1217K759K
Detergents1210K803K
Health and beauty equipment2046K1380K
Non-essential goods1368K894K
Cleaners1237K673K

A normalized bar chart shows the contribution, as a percentage, of each category in the total measure value over a time interval. For example, the percentage of sales for different product categories.

normalized-horizontal-bar-chart-2

Source table
MonthHome appliancesHousehold goodsHousehold cleaners
January 2019128K55K26K
February 201997K79K18K
March 2019187K105K41K
April 2019188K137K34K
May 2019230K121K43K
June 2019256K162K59K
July 2019284K206K67K
August 2019409K204K72K
September 2019314K209K86K
October 2019324K262K79K
November 2019385K238K101K
December 2019451K307K111K

Sections in the wizard

Section
in the wizard
Description
YDimensions. One or two dimensions can be specified. For the Date and Date and time types, you can set grouping by time: minutes, hours, weeks, and so on.
XMeasure. You can specify multiple measures. If you add more than one measure to a section, the Colors section contains a dimension named Measure Names. You may move Measure Names to the Y-axis.
ColorsDimension or the Measure Names field. Affects the color of lines. Measure Names is removed by deleting measures from the Y-axis.
SortingDimension or measure. Affects the sorting of columns. The sorting direction is marked with an icon next to the field: ascending or descending . To change the sorting direction, click the icon.
SignaturesMeasure. Displays measure values on the chart. If multiple measures are added to the Y section, drag Measure Values to this section.
FiltersDimension or measure. Used as a filter.

Creating a normalized bar chart

To create a normalized bar chart:

  1. On the DataLens home page, click Create chart.
  2. Under Dataset, select a dataset for visualization.
  3. Select Normalized bar chart as the chart type.
  4. Drag one or more dimensions from the dataset to the Y section. The values are displayed on the Y-axis.
  5. Drag one or more measures from the dataset to the X section.
  6. Drag a dimension from the dataset or the Measure Names field to the Colors section.

Recommendations

  • If the values of the categories contain a large amount of text, try to reduce it. Then the signatures on the diagram will look more accurate. You can use string functions in the calculated fields or conditional operators CASE.

  • Don't display more than 3-5 segments on the chart.
  • When visualizing multiple measures, select colors carefully. They should be distinguishable and contrasting. We recommend using no more than 3-5 colors per chart. If you want to emphasize one certain measure above the others, highlight it in some bright color.