{"id":2811,"date":"2024-02-05T00:01:55","date_gmt":"2024-02-04T23:01:55","guid":{"rendered":"https:\/\/newdatalabs.com\/en\/?p=2811"},"modified":"2023-12-30T00:10:46","modified_gmt":"2023-12-29T23:10:46","slug":"charts-in-tableau-part-1-categories","status":"publish","type":"post","link":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/","title":{"rendered":"Charts in Tableau Part 1: Categories"},"content":{"rendered":"\n<p>When you want to analyse category data, there is only one option in general \u2013 bar charts. If you need to compare the indicators according to such dimensions as segments, regions, producers \u2013<strong>\u00a0bar chart<\/strong>\u00a0will always be a good choice. Preparing the chart is pretty straightforward, and it is easy to interpret. Human beings can handle well lengths, so users can easily spot the dependencies which are not visible in the similar charts. However, you need to remember about the transparency of your visualization and not to overdo it with the amount of information. In the below post I will describe 15 types of bar charts worth to know and use in dashboards.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A bar chart is a king among graphs<\/h2>\n\n\n\n<p>The above statement may sound excessive, but it\u2019s how bar charts should be perceived. Let\u2019s look at the example of the sales analysis according to categories. You can easily see the sales leader and the difference between sales of individual categories: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"885\" height=\"532\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/1-4.png\" alt=\"\" class=\"wp-image-2813 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/1-4.png 885w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/1-4-300x180.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/1-4-768x462.png 768w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/1-4-360x216.png 360w\" data-sizes=\"(max-width: 885px) 100vw, 885px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 885px; --smush-placeholder-aspect-ratio: 885\/532;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>In addition, by using reference lines in Tableau you can add a line with the sales average. This way you provide the user with the information about the categories below the average and the categories above it: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"882\" height=\"535\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/2-3.png\" alt=\"\" class=\"wp-image-2814 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/2-3.png 882w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/2-3-300x182.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/2-3-768x466.png 768w\" data-sizes=\"(max-width: 882px) 100vw, 882px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 882px; --smush-placeholder-aspect-ratio: 882\/535;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>By doing so, you can enhance you visualization with an additional information vector, which is always desirable. If you add a highlighter, your users will be able to analyze the selected category in comparison with others: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"880\" height=\"540\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/3-3.png\" alt=\"\" class=\"wp-image-2815 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/3-3.png 880w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/3-3-300x184.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/3-3-768x471.png 768w\" data-sizes=\"(max-width: 880px) 100vw, 880px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 880px; --smush-placeholder-aspect-ratio: 880\/540;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>A column chart is a popular variation of the bar chart \u2013 it\u2019s a bar chart rotated by 90 degrees. This chart is also easy to interpret, but it has one major drawback \u2013 it usually requires turning the labels on the X-axis, which makes them difficult to read. Column charts are sometimes common in time trend analyses, but line charts would be the best option in that case, as they ensure the continuity of data. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"877\" height=\"544\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/4-2.png\" alt=\"\" class=\"wp-image-2816 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/4-2.png 877w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/4-2-300x186.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/4-2-768x476.png 768w\" data-sizes=\"(max-width: 877px) 100vw, 877px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 877px; --smush-placeholder-aspect-ratio: 877\/544;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>When using the bar chart, you should bear some general principles in mind to ensure the integrity of the presentation. First of all, never use 3D chars. Second of all \u2013 an axis should always start from zero. If you start your axis at a different point, your users will get confused. Unfortunately, this happens and is done on purpose \u2013 for example, mass media often use this morally ambiguous technique: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"652\" height=\"365\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/5-4.jpg\" alt=\"\" class=\"wp-image-2817 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/5-4.jpg 652w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/5-4-300x168.jpg 300w\" data-sizes=\"(max-width: 652px) 100vw, 652px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 652px; --smush-placeholder-aspect-ratio: 652\/365;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The actual comparison of values \u2013 the axis starts at 5 million and at 0 million in the second case. The message is completely different, especially when you remove the axis. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"880\" height=\"575\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/6-2.png\" alt=\"\" class=\"wp-image-2818 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/6-2.png 880w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/6-2-300x196.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/6-2-768x502.png 768w\" data-sizes=\"(max-width: 880px) 100vw, 880px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 880px; --smush-placeholder-aspect-ratio: 880\/575;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"888\" height=\"576\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/7-3.png\" alt=\"\" class=\"wp-image-2819 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/7-3.png 888w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/7-3-300x195.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/7-3-768x498.png 768w\" data-sizes=\"(max-width: 888px) 100vw, 888px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 888px; --smush-placeholder-aspect-ratio: 888\/576;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The last rule is to use colors in a sensible manner. A bar chart automatically divides the data into categories, so there is no point to color each subcategory \u2013 it makes the chart look chaotic: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"891\" height=\"542\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/8-2.png\" alt=\"\" class=\"wp-image-2820 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/8-2.png 891w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/8-2-300x182.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/8-2-768x467.png 768w\" data-sizes=\"(max-width: 891px) 100vw, 891px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 891px; --smush-placeholder-aspect-ratio: 891\/542;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Whereas, if you have a relatively small amount of the higher level in the hierarchy \u2013 you can apply colors \u2013 as in the below example with three categories: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"885\" height=\"540\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/9-2.png\" alt=\"\" class=\"wp-image-2821 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/9-2.png 885w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/9-2-300x183.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/9-2-768x469.png 768w\" data-sizes=\"(max-width: 885px) 100vw, 885px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 885px; --smush-placeholder-aspect-ratio: 885\/540;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bar chart variations<\/h2>\n\n\n\n<p>Bar chart is usually sufficient on its own, however there are some more visually attractive options. The first is a lollipop chart \u2013 bars are formed as thin lines with round endings, which are perfect for adding labels. To create this chart in Tableau, you need to use a dual axis function: the first axis will contain a bar chart, and the other one a circle or shape: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"887\" height=\"572\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/10-2.png\" alt=\"\" class=\"wp-image-2822 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/10-2.png 887w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/10-2-300x193.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/10-2-768x495.png 768w\" data-sizes=\"(max-width: 887px) 100vw, 887px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 887px; --smush-placeholder-aspect-ratio: 887\/572;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>There are objections regarding lollipop charts \u2013 it\u2019s hard to identify what should the categories be compared to \u2013 the end point or the middle? For large circles, this could be confusing for end users. Therefore, sometimes a lollipop would have a line instead of a point at the end: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"886\" height=\"574\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/11-2.png\" alt=\"\" class=\"wp-image-2823 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/11-2.png 886w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/11-2-300x194.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/11-2-768x498.png 768w\" data-sizes=\"(max-width: 886px) 100vw, 886px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 886px; --smush-placeholder-aspect-ratio: 886\/574;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Dot plots are another useful tool \u2013 here you have data points instead of bars. It\u2019s easy for human beings to compare the lengths and identify the position. This chart resembles the adjusting slides: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"883\" height=\"578\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/12-2.png\" alt=\"\" class=\"wp-image-2824 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/12-2.png 883w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/12-2-300x196.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/12-2-768x503.png 768w\" data-sizes=\"(max-width: 883px) 100vw, 883px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 883px; --smush-placeholder-aspect-ratio: 883\/578;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>If you want to enhance the visual aspect of bar charts, you can use round bar charts \u2013 rounded bars look fresher, however for more accurate comparisons, standard bars will work better: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"886\" height=\"540\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/13-2.png\" alt=\"\" class=\"wp-image-2825 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/13-2.png 886w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/13-2-300x183.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/13-2-768x468.png 768w\" data-sizes=\"(max-width: 886px) 100vw, 886px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 886px; --smush-placeholder-aspect-ratio: 886\/540;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Another interesting option is to combine the bar chart with the Gantt chart to improve the visual aspect of the chart, by highlighting bar ends. To create this chart, use a dual axis consisting of the bar chart and the Gantt chart: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"882\" height=\"576\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/14-1.png\" alt=\"\" class=\"wp-image-2826 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/14-1.png 882w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/14-1-300x196.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/14-1-768x502.png 768w\" data-sizes=\"(max-width: 882px) 100vw, 882px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 882px; --smush-placeholder-aspect-ratio: 882\/576;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bar chart \u2013 a tool for comparing business indicators<\/h2>\n\n\n\n<p>One of the essential aspects of visualization (of business indicators in particular) is the ability to compare them against a certain reference. When analyzing the sales according to subcategories, you can understand where the sales of one category stands compared to other categories. But you cannot see whether the sales is better than the last year, if it\u2019s in line with the budget or forecast. The basic information \u201ethe sales of paper has reached 1 million this year\u201d doesn\u2019t say much. Is this a lot or too little? Is this good or bad? You are not able to assess it without having a reference point. For this reason, bar charts are often enhanced with additional references. The easiest way is to add another measure to the bar chart: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"886\" height=\"580\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/15.png\" alt=\"\" class=\"wp-image-2827 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/15.png 886w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/15-300x196.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/15-768x503.png 768w\" data-sizes=\"(max-width: 886px) 100vw, 886px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 886px; --smush-placeholder-aspect-ratio: 886\/580;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>It\u2019s pretty easy to compare values in this chart, however it\u2019s visually overwhelming. There are too many bars, which impacts the interpretation. There are other, more user-friendly options, such as a bar-in-bar chart: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"887\" height=\"574\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/16.png\" alt=\"\" class=\"wp-image-2828 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/16.png 887w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/16-300x194.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/16-768x497.png 768w\" data-sizes=\"(max-width: 887px) 100vw, 887px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 887px; --smush-placeholder-aspect-ratio: 887\/574;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The thinner bar is the main indicator, and the thicker indicator in the background is a reference. This way you can save space and simplify the message. Another option is to use the Gantt chart on a dual axis to show the reference: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"886\" height=\"516\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/17.png\" alt=\"\" class=\"wp-image-2829 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/17.png 886w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/17-300x175.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/17-768x447.png 768w\" data-sizes=\"(max-width: 886px) 100vw, 886px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 886px; --smush-placeholder-aspect-ratio: 886\/516;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Or use reference lines: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"886\" height=\"548\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/18.png\" alt=\"\" class=\"wp-image-2830 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/18.png 886w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/18-300x186.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/18-768x475.png 768w\" data-sizes=\"(max-width: 886px) 100vw, 886px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 886px; --smush-placeholder-aspect-ratio: 886\/548;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The situation gets complicated when you want to link your indicator with two references. It\u2019s not a good idea to do that as it covers too much information. However, you can mix the above methods \u2013 the easiest is a bar-in-bar and a reference line, which is a special type of a bullet chart: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"886\" height=\"548\" data-src=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/19.png\" alt=\"\" class=\"wp-image-2831 lazyload\" data-srcset=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/19.png 886w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/19-300x186.png 300w, https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/19-768x475.png 768w\" data-sizes=\"(max-width: 886px) 100vw, 886px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 886px; --smush-placeholder-aspect-ratio: 886\/548;\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Bar charts are great!<\/h2>\n\n\n\n<p>A bar chart is one of the most useful types of graphs. You can come across it in almost all business dashboards. Its interpretation is straightforward as we can easily compare the lengths of bars. It\u2019s much easier than comparing the sizes of points. There are many types of bar chart, and they can be enhanced by adding references. This way, in addition to the information on the performance of the business indicator, it also shows a relation to the reference. One important aspect to remember is to ensure the transparency of your visualization and to not overwhelm users with colors or references. If you follow a \u201ckeep it simple\u201d principle, your bar charts will definitely be a reliable foundation for any dashboard.<\/p>\n\n\n\n<p>Mateusz Karmalski,<\/p>\n\n\n\n<p>Tableau Author<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you want to analyse category data, there is only one option in general \u2013 bar charts. If you need to compare the indicators according to such dimensions as segments, regions, producers \u2013\u00a0bar chart\u00a0will always be a good choice. Preparing the chart is pretty straightforward, and it is easy to interpret. Human beings can handle [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2812,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"content-sidebar","footnotes":""},"categories":[9,5],"tags":[],"class_list":{"0":"post-2811","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-blog","8":"category-tableau","9":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Charts in Tableau Part 1: Categories - NewDataLabs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Charts in Tableau Part 1: Categories - NewDataLabs\" \/>\n<meta property=\"og:description\" content=\"When you want to analyse category data, there is only one option in general \u2013 bar charts. If you need to compare the indicators according to such dimensions as segments, regions, producers \u2013\u00a0bar chart\u00a0will always be a good choice. Preparing the chart is pretty straightforward, and it is easy to interpret. Human beings can handle [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/\" \/>\n<meta property=\"og:site_name\" content=\"NewDataLabs\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-04T23:01:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"360\" \/>\n\t<meta property=\"og:image:height\" content=\"216\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Barbara\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Barbara\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/\"},\"author\":{\"name\":\"Barbara\",\"@id\":\"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/dfa2df2f2fb6fcecdd8f69f00cffba29\"},\"headline\":\"Charts in Tableau Part 1: Categories\",\"datePublished\":\"2024-02-04T23:01:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/\"},\"wordCount\":1104,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg\",\"articleSection\":[\"Blog\",\"Tableau\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/\",\"url\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/\",\"name\":\"Charts in Tableau Part 1: Categories - NewDataLabs\",\"isPartOf\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg\",\"datePublished\":\"2024-02-04T23:01:55+00:00\",\"author\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/dfa2df2f2fb6fcecdd8f69f00cffba29\"},\"breadcrumb\":{\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage\",\"url\":\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg\",\"contentUrl\":\"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg\",\"width\":360,\"height\":216},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\/\/newdatalabs.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Charts in Tableau Part 1: Categories\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/newdatalabs.com\/en\/#website\",\"url\":\"https:\/\/newdatalabs.com\/en\/\",\"name\":\"NewDataLabs\",\"description\":\"Tableau - Business Intelligence Tools\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/newdatalabs.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/dfa2df2f2fb6fcecdd8f69f00cffba29\",\"name\":\"Barbara\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8805976098f215eb8413b85141c17705f7ac9d91ccc0f83881d7eae1eab8c7f1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8805976098f215eb8413b85141c17705f7ac9d91ccc0f83881d7eae1eab8c7f1?s=96&d=mm&r=g\",\"caption\":\"Barbara\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Charts in Tableau Part 1: Categories - NewDataLabs","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/","og_locale":"en_US","og_type":"article","og_title":"Charts in Tableau Part 1: Categories - NewDataLabs","og_description":"When you want to analyse category data, there is only one option in general \u2013 bar charts. If you need to compare the indicators according to such dimensions as segments, regions, producers \u2013\u00a0bar chart\u00a0will always be a good choice. Preparing the chart is pretty straightforward, and it is easy to interpret. Human beings can handle [&hellip;]","og_url":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/","og_site_name":"NewDataLabs","article_published_time":"2024-02-04T23:01:55+00:00","og_image":[{"width":360,"height":216,"url":"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg","type":"image\/jpeg"}],"author":"Barbara","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Barbara","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#article","isPartOf":{"@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/"},"author":{"name":"Barbara","@id":"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/dfa2df2f2fb6fcecdd8f69f00cffba29"},"headline":"Charts in Tableau Part 1: Categories","datePublished":"2024-02-04T23:01:55+00:00","mainEntityOfPage":{"@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/"},"wordCount":1104,"commentCount":0,"image":{"@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage"},"thumbnailUrl":"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg","articleSection":["Blog","Tableau"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/","url":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/","name":"Charts in Tableau Part 1: Categories - NewDataLabs","isPartOf":{"@id":"https:\/\/newdatalabs.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage"},"image":{"@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage"},"thumbnailUrl":"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg","datePublished":"2024-02-04T23:01:55+00:00","author":{"@id":"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/dfa2df2f2fb6fcecdd8f69f00cffba29"},"breadcrumb":{"@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#primaryimage","url":"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg","contentUrl":"https:\/\/newdatalabs.com\/en\/wp-content\/uploads\/2023\/12\/60-1.jpg","width":360,"height":216},{"@type":"BreadcrumbList","@id":"https:\/\/newdatalabs.com\/en\/charts-in-tableau-part-1-categories\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/newdatalabs.com\/en\/"},{"@type":"ListItem","position":2,"name":"Charts in Tableau Part 1: Categories"}]},{"@type":"WebSite","@id":"https:\/\/newdatalabs.com\/en\/#website","url":"https:\/\/newdatalabs.com\/en\/","name":"NewDataLabs","description":"Tableau - Business Intelligence Tools","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/newdatalabs.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/dfa2df2f2fb6fcecdd8f69f00cffba29","name":"Barbara","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/newdatalabs.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8805976098f215eb8413b85141c17705f7ac9d91ccc0f83881d7eae1eab8c7f1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8805976098f215eb8413b85141c17705f7ac9d91ccc0f83881d7eae1eab8c7f1?s=96&d=mm&r=g","caption":"Barbara"}}]}},"_links":{"self":[{"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/posts\/2811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/comments?post=2811"}],"version-history":[{"count":1,"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/posts\/2811\/revisions"}],"predecessor-version":[{"id":2832,"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/posts\/2811\/revisions\/2832"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/media\/2812"}],"wp:attachment":[{"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/media?parent=2811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/categories?post=2811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newdatalabs.com\/en\/wp-json\/wp\/v2\/tags?post=2811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}