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

Wizard sections

Wizard
section
Description
YDimensions. You can specify one or two dimensions. 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 will contain a dimension named Measure Names. You can move Measure Names to the Y axis.
ColorsMeasure Names dimension or field that affects the color of lines. To remove Measure Names, delete measures from the Y-axis.
SortingDimension or measure. Affects the column sorting. The sorting direction is marked with an icon next to the field: for ascending or for descending. To change the sorting direction, click the icon.
LabelsMeasure. 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:

Warning

If you use a new DataLens object model with workbooks and collections:

  1. Go to the DataLens home page. In the left-hand panel, select Collections and workbooks.
  2. Open the workbook, click Create in the top-right corner, and select the appropriate object.

Follow the guide from step 4.

  1. Go to the DataLens home page.
  2. In the left-hand panel, select Charts.
  3. Click Create chartChart.
  4. At the top left, click Select dataset and specify the dataset to visualize.
  5. Select Normalized bar chart as the chart type.
  6. Drag one or more dimensions from the dataset to the Y section. The values will be displayed on the Y axis.
  7. Drag one or more measures from the dataset to the X section.
  8. Drag a dimension from the dataset or the Measure Names field to the Color 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.

  • Do not display more than three to five 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.