Declutter your comparisons with a Lollipop Column Chart
Standard column charts are ideal for showing a single measure per category so you can easily compare each of the categories with the rest. However, if you have larger number of categories (>10) in a column chart it is possible the chart itself becomes “heavy” because large part of the surface of the chart will be filled with the bar color(s).
To avoid this clutter one can use the Lollipop Column Chart as an alternative to the standard column chart. It shows a marker (mostly the shape dot) per category at the corresponding measure value for each category. The marker is connected to the measure-axis origin by a subtle line. The marker combined with the line make it a Lollipop Chart.
Key features of the Lollipop Chart are:
- Format objects: each of the data point objects (shape and line) can be formatted by selecting a color and size. Additional, the line can be switched on/off and for the shape one can switch on/off the fill color;
- Axis formatting options: in line with the options you know from the Power BI Clustered column chart, so no need to learn a new interface;
- Selection & Highlighting: like in standard Power BI charts, you can use the Selection & Highlighting functions within the Lollipop Chart;
- Context menu: like in standard Power BI charts you have access to the context menu to Include/Exclude data points;
- Full Tooltip support: besides the default Tooltip behavior (show the value of the element you hover) you can also add additional feeds to the tooltip;
- Full Bookmark support: like any of the standard visuals the Lollipop Column Chart supports Bookmarks.
How to use: Build/Add data
The Add data pane (Build visual in the standard format pane) contains the data fields of the visual. Of the four fields you need to specify at least the first two fields, being: Axis and Values. Tooltips and Legend are optional.
- Axis: add the field(s) with the categories you want to place on the x-axis. If you add multiple fields (like in the example to the left), you can drill through the different fields as if they were levels of a hierarchy. You can also use any hierarchy you already have in your data set.
- Values: this is where you specify the measure as it will be displayed on the y-axis. The value of this measure will determine the location of each category marker on the x-axis scale. By default it will SUM all the values per category, but you can also select any of the other aggregation functions (like Average, Minimum, Maximum, Count, etc.). You can add a second (reference) value to the Values field.
- Tooltips: the field(s) added here will show in the tooltip when the user hovers over a specific data point.
- Legend: add a category to color-code the chart based on that category.
How to use: Format
The Visual specific settings contain formatting properties that allow you to change the default behavior of the visual, besides the standard format sections there are a number of additional format sections that allow you to change the default behavior of this visual:
- Title: (standard Power BI option, by default on) here you can edit and format the Title and Subtitle, add a Divider and set the Spacing.
- License: for PREMIUM licenses only. Enter your license details in License Name and License Key to remove the license reminders. Once the license is accepted, the card shows who the visual is licensed to and until when the license is valid.
- X-Axis: the formatting options for the x-axis (category axis) are similar to the options available within the Clustered column chart (standard Power BI visual). These familiar options allow you to change the visibility and formatting of the x-axis elements.
- Style: only visible if there are 2 categories mapped and they are at the lowest level. The option Concatenate labels will be by default off, when enabled, the x-axis labels will display in a single row.
- Values: you can set the Font family, text Size, emphasized text (Bold, Italic, Underline), Color, Min category width and Max size.
- Title: (by default off) here you can rename the label in Title text, set the Font, Size, emphasized text (Bold, Italic, Underline), Title position (Align left, Align center, Align right) and Title color.
- Y-Axis: the formatting options for the y-axis (value axis) are similar to the options available within the Clustered column chart (standard Power BI visual). These familiar options allow you to change the visibility and formatting of the y-axis elements.
- Range: here you can set the Minimum and Maximum value.
- Values: you can set the Font, Size, emphasized text (Bold, Italic, Underline), Color, Display units (Auto, None, Thousands, Millions, Billions, Trillions) and Value decimal places.
- Title: (by default off) here you can rename the label in Title text, set Style (Show title only, Show unit only, Show both) and the Font, Size, emphasized text (Bold, Italic, Underline), Title position (Align left, Align center, Align right) and Title color.
- Legend: available if you add a category to the Legend field or a second (reference) value to the Values field. Show/hide the legend by clicking the toggle on/off. Available settings:
- Options: set the Position of the legend to Top left, Top center, Top right, Top left stacked, Top right stacked, Center left, Center right, Bottom left (default), Bottom center or Bottom right.
- Text: change the Font family, text Size, emphasized text (Bold, Italic, Underline) and Color of the legend.
- Title: (by default off) add a Title text to the legend.
- Gridlines: by default the chart has horizontal thin and light background lines in the grid.
- Horizontal: turn on/off the horizontal gridlines and set the Style (Dashed, Solid (default), Dotted), the Color and Width.
- Zoomslider: (by default off) enable the zoomslider to easily examine a smaller range of data without having to use a filter. The zoomslider is added on the chart’s y-axis and can be used for scrolling. Click and drag endpoints on sliders to adjust the dimensions of the chart, slide both endpoints toward the center. The closer the two endpoints are to each other, the more you zoom in to display shorter, finer segments. Click and hold down the left mouse button on the center section of the zoom bar and then scroll up or down to a particular point. The zoomslider can also be switched off/on. Available formatting subcategories:
- Color: to change the color of the zoomslider (endpoints and line).
- Style: to change the Font family, text Size, emphasized text (Bold, Italic, Underline) and Font color of the zoomslider labels.
- Columns: within this section you can change the format of the columns (markers and lines). The available options depend on the fields you add in the Add data pane.
- Series: only available if you add a category to the Legend field. Select All to format all categories at once, or select a specific category to format it separately, including its marker Color.
- Transparency: set the transparency of the columns.
- Marker: change the Marker size, switch the Fill on/off and change the Marker shape and Color. If you have a second (reference) value in the Values field, use Apply to to select the value you want to format. If no category is added to the Legend field, you can also apply conditional formatting (fx) to the Color.
- Lines: hide the lines by switching the toggle off, and change the Line width and Line color. If no category is added to the Legend field, you can also apply conditional formatting (fx) to the Line color.
- Layout: only available if you add a category to the Legend field and Series is set to All. Set the Space between categories and Space between series.
- Data labels: (by default off) within this section you can add and change the format of the data labels. The available options depend on the fields you add in the Add data pane.
- Overflow text: (by default off) enable this option to show overflowed text.
- Series: only available if you add a category to the Legend field. Select All to format all categories at once, or select a specific category to format it separately.
- Apply settings to: only available if you have a second (reference) value in the Values field. Select the value you want to format from the drop-down menu. If you also add a category to the Legend field, this option is called Apply to.
- Show: (by default on) show or hide the data labels of the selected value and/or category. Available if you have a second (reference) value in the Values field and/or a category in the Legend field, but not when Series is set to All.
- Values (Value when a specific category is selected under Series): set the Font, Size and emphasized text (Bold, Italic, Underline), change the Color of the labels, Value decimal places and Display units (Auto, None, Thousands, Millions, Billions, Trillions).
- Background: (by default off) add a background to the data labels and change the background Color and Transparency. You can set the background independently per category (Series) and for the values and/or reference values (Apply settings to), for example to give each category its own label background.
With on-object interaction, the analytics lines are at the bottom of the Visual tab:
- Constant line: (standard Power BI option, by default off) add a horizontal reference line at a value you choose. Available settings:
- Values: rename the line in Name and enter the Value where the line is placed.
- Shape: set the Transparency, Line width, Line style and Position.
- Color: change the color of the line.
- Data labels: (by default off) show a label and set the Label color, Text, Horizontal position, Vertical position, Display units and Decimal places.
- Min line: (standard Power BI option, by default off) add a line at the lowest value. Under Values you can rename the line in Name. The Shape, Color and Data labels settings are the same as for the Constant line.
- Max line: (standard Power BI option, by default off) add a line at the highest value. Under Values you can rename the line in Name. The Shape, Color and Data labels settings are the same as for the Constant line.
- Average line: (standard Power BI option, by default off) add a line at the average value. Under Values you can rename the line in Name. The Shape, Color and Data labels settings are the same as for the Constant line.
- Median line: (standard Power BI option, by default off) add a line at the middle value. Under Values you can rename the line in Name. The Shape, Color and Data labels settings are the same as for the Constant line.
- Percentile line: (standard Power BI option, by default off) add a line at a percentile of the values. Under Values you can rename the line in Name and set the Percentile (by default 90). The Shape, Color and Data labels settings are the same as for the Constant line.
The Properties settings (General in the standard format pane) contain cards that affect the visual container and are consistent across all visual types. Here you find options for customizing the Size and style, Data format, Header icons, Tooltips, Alt text and Advanced options.
How to use: Analytics
You can highlight many interesting trends and insights by creating dynamic reference lines. If you use the standard format pane, the analytics lines are in the Analytics pane: select the visual and click the Analytics icon (magnifying glass).
Available Analytics lines:
- Constant line: displays the value specified, helps to track metrics and desired goals.
- Min line: displays the lowest value.
- Max line: displays the highest value.
- Average line: displays the data average.
- Median line: displays the middle value.
- Percentile line: displays the value (or score) below which x% of the observations may be found.
Rename the line in the Values card, and for the Constant line enter its Value (for the Percentile line, set the Percentile). Go to the Shape card to set the Transparency, Line width, Line style and Position, and change the color of the line under Color.
If you want to have a data label, switch Data labels on. You get additional formatting options, such as Label color, Text, Horizontal position, Vertical position, Display units and Decimal places.
See Adding Analytics lines to a Lollipop Column for more information.
For any questions or remarks about this Visual, please contact us by email at Nova Silva Support.
