{"id":3332,"date":"2018-05-17T09:46:33","date_gmt":"2018-05-17T09:46:33","guid":{"rendered":"http:\/\/localhost\/etabs-wordpress\/?post_type=newsevents&amp;p=3332"},"modified":"2018-05-17T09:46:33","modified_gmt":"2018-05-17T09:46:33","slug":"chart-chats-bar-graph","status":"publish","type":"newsevents","link":"https:\/\/special-sauce.dev\/etabs-block\/newsevents\/chart-chats-bar-graph\/","title":{"rendered":"Chart Chats: Bar Graph"},"content":{"rendered":"<h1>Chart Chats: Bar Graph<\/h1>\n<p>In this series, we get to the heart of different chart styles to better understand how they tick, through intimate and humorous interviews with the charts themselves. Welcome to &#8220;Chart Chats&#8221;.<\/p>\n<h2>Today we&#8217;re talking to the Bar Chart.<\/h2>\n<p>&nbsp;<\/p>\n<p><strong>This week we&#8217;re meeting a very familiar kind of chart in a very familiar kind of place, the local bar. Welcome Bar Chart.<\/strong><\/p>\n<p>Hi! So, I just walked into the bar and the bartender said, \u201cIs this some sort of joke?\u201d <em>*snigger*<\/em><\/p>\n<p><strong>Looks like it\u2019s going to be a long night\u2026<\/strong><strong>So, let\u2019s start from the beginning. What is a bar chart?<\/strong><\/p>\n<p>OK, a bar chart is a visual that displays categorical data in the form of either horizontal or vertical rectangular bars, which allows for quick and easy comparison between the categories included. Impressive, right? Have you spoken to other charts already?<\/p>\n<p><strong>Yes, we have met a few so far.<\/strong><\/p>\n<p>I bet that they all claim to have been invented by William Playfair. Most people will tell you that the first bar chart is the one he created showing the imports and exports of Scotland by categories, in a timeline from Christmas 1780 to the following Christmas of 1781.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"&lt;p style=&quot;text-align:center&quot;&gt; wp-image-3333 size-full aligncenter\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/bar-chart-1.png\" alt=\"\" width=\"600\" height=\"406\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now, old Bill does get a load of credit but let me tell you something that most people don\u2019t know.<\/p>\n<p>There was a bar chart from almost 300 years earlier from a Frenchman named Nicole Oresme called \u201cThe Latitude of Forms\u201d.\u00a0 This example uses bars to represent values of velocity over time of a moving object. The time has been plotted along the horizontal axis, while the velocity values are plotted on the vertical axis. I know it sounds like really complicated stuff, but the point is that the bar chart is actually the oldest chart \u2013 don\u2019t forget that!<\/p>\n<p>I reckon that in the stone ages\u2026<\/p>\n<p><strong>Wow, that sounds really interesting but perhaps you could tell me how is a bar made?<\/strong><\/p>\n<p>How should I know? &#8211; You\u2019d have to ask her!! <em>*snigger*<\/em><\/p>\n<p>So, where was I? Yes, a bar chart has an X and Y axis, and the height or length of the bar indicates the values they represent for each category. The categories go along one axis and the values along the other.<\/p>\n<p><strong>What about the order?<\/strong><\/p>\n<p>Thank you very much, I\u2019ll have whatever you\u2019re having. <em>*snigger*<\/em><\/p>\n<p>Well, the thing about the bar chart is that you can have whatever order you want, I don\u2019t care. You can sort the chart alphabetically by category or sort by value from highest to lowest, or vice versa.<\/p>\n<p><strong>What about the scale?<\/strong><\/p>\n<p>Some scales walk into the bar and the barman says, \u201cSorry about the wait\u201d. <em>*snigger*<\/em> You get it? Right?<\/p>\n<p><strong>Yes, we get it.<\/strong><\/p>\n<p>Good. So, scales have to start from 0. I don\u2019t have many rules, but the one rule that I insist on is that all scales start from 0. I don\u2019t care if you go into the minus below the line \u2013 the barman here will give me a bit of credit \u2013 \u00a0but you got to have 0 on the scale.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3335\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Bar-Chart-3.png\" alt=\"\" width=\"384\" height=\"221\" \/><\/p>\n<p>And once you have a scale, keep the same one for all the charts you have.<\/p>\n<p><strong>So, which one is the column, which one is the bar? How do I know which one is best to use? <\/strong><\/p>\n<p>Oh, who cares, just do what works best for you! That being said, you do get some people who get really worked up about these things. Now the barman here, he really likes the columns \u2013 says they keep the roof over his head! <em>*snigger*<\/em> I personally like to start off vertically, you know, like traditional bar charts should be \u2013 that\u2019s the column by the way. As the category labels get longer, I start to run out of room so they start sloping and then they get even longer and it just becomes more comfortable to go horizontal like a bar.<\/p>\n<p>You know, there\u2019s a lot to be said for a bar crawl. I remember when\u2026<\/p>\n<p><strong>Speaking of bar crawls, how many bars should be in a chart?<\/strong><\/p>\n<p>Doesn\u2019t matter \u2013 as many as fit. You just have to watch out for the width and gaps between them. Too skinny a bar width will create dead space in your canvas, which would be better used by other visuals. I always say as a rule of thumb &#8211; keep the space between bars half that of the actual width of bars shown.<\/p>\n<p><strong>What happens if I want more than one value per category?<\/strong><\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3336\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Bar-Chart-4.png\" alt=\"\" width=\"440\" height=\"246\" \/><\/p>\n<p>So, then you got a few options. Say you have one value \u2013 like this glass here, and then you have another value \u2013 another glass here. So, they are next to each other, that\u2019s a group. Then we have one and two in the next category, you see how it works? Now all these multi-value charts will need a legend \u2013 so that\u2019s this bag of peanuts here.<\/p>\n<p>Or we could have a stacked bar. We got the same legend &#8211; so this bag of peanuts again &#8211; but the chart is different. So, the first value in the category is this glass here, then the second goes on top of the first one, and we do same for each category, glass 3 and glass 4.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3337\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Bar-Chart-5.png\" alt=\"\" width=\"415\" height=\"338\" \/><\/p>\n<p>Now, we get to the 100% stack which is when all the values in each category are out of 100, so you have this first value, and then this glass goes on top which is the second value, and then you put the third value on top\u2026<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3338\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Bar-Chart-6.png\" alt=\"\" width=\"574\" height=\"477\" \/><\/p>\n<p><strong>&lt;At this point the barman steps in and removes the glasses&gt;<\/strong><\/p>\n<p><strong>I see what you mean. Can you tell me\u2026<\/strong><\/p>\n<p>Hey &#8211; my friend the line chart has just walked in. Nice to see you! We drink together sometimes you see.<\/p>\n<p><strong>Oh really? So, where do you two know each other from? <\/strong><\/p>\n<p>Well, we sometimes work together too, on a Pareto chart &#8211; where the bar values are shown in descending order, and the cumulative total of the values shown is represented by the line.\u00a0 This is most useful when there is an interest in showing the relationship between the individual value of a category to the overall total of those categories.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3339\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Bar-Chart-7-300x112.png\" alt=\"\" width=\"500\" height=\"187\" \/><\/p>\n<p><strong>Final words before we leave you two to it?<\/strong><\/p>\n<p>No 3D charts, avoid that all costs. A 3D chart walked into the bar and the barman said, \u201cYou stick out like a sore thumb\u201d. <em>*snigger*<\/em> And watch your colours, keep all the bars the same colour unless you have a reason not to. And not too much on the chart &#8211; if you have scale labels at each interval than gridlines across the chart are not necessary, neither would value labels on the bar.\u00a0 However, you could go in\u00a0the other direction and remove the\u00a0axis altogether if value labels are included. And\u2026<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3340\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Bar-Chart-8.png\" alt=\"\" width=\"435\" height=\"326\" \/><\/p>\n<p><strong>OK, so in one sentence?<\/strong><\/p>\n<p>Watch the scale, keep it simple and basically just keep to the bar code!<\/p>\n<p><strong>Thank you very much.<\/strong><\/p>\n<p>\u2026Before you go do you want to see my party trick \u2013 it\u2019s really good?<\/p>\n<p><strong>I suppose so\u2026<\/strong><\/p>\n<p>Well, you think bar charts are only squares and rectangles? Actually, I can contort into different shapes, pictures and icons\u2026 like this\u2026<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3341\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Vizualz-beer-300x150.png\" alt=\"\" width=\"400\" height=\"200\" \/><\/p>\n<p>Or this\u2026<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3342 size-medium\" src=\"http:\/\/localhost\/etabs-wordpress\/wp-content\/uploads\/sites\/30\/2020\/12\/Vizualz-Coke-Can-300x197.png\" alt=\"\" width=\"300\" height=\"197\" \/><\/p>\n<p><strong>That\u2019s amazing \u2013 I wonder if you could show me how you do that?<\/strong><\/p>\n<p>Actually, it used to be really hard to do. But you are in luck! There\u2019s this brand new visualization tool called <a href=\"http:\/\/localhost\/etabs-wordpress\/software\/vizualz-easy-infographics-for-powerpoint\/\"><strong>Vizualz<\/strong><\/a> which allows you \u2013 or anybody really \u2013 to get these amazing looking charts with hardly any effort at all! Check it out <a href=\"http:\/\/localhost\/etabs-wordpress\/software\/vizualz-easy-infographics-for-powerpoint\/\"><strong>here.<\/strong><\/a><\/p>\n<p><strong>We sure will!<\/strong><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"author":2790,"featured_media":3350,"template":"","class_list":["post-3332","newsevents","type-newsevents","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/special-sauce.dev\/etabs-block\/wp-json\/wp\/v2\/newsevents\/3332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/special-sauce.dev\/etabs-block\/wp-json\/wp\/v2\/newsevents"}],"about":[{"href":"https:\/\/special-sauce.dev\/etabs-block\/wp-json\/wp\/v2\/types\/newsevents"}],"author":[{"embeddable":true,"href":"https:\/\/special-sauce.dev\/etabs-block\/wp-json\/wp\/v2\/users\/2790"}],"version-history":[{"count":0,"href":"https:\/\/special-sauce.dev\/etabs-block\/wp-json\/wp\/v2\/newsevents\/3332\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/special-sauce.dev\/etabs-block\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/special-sauce.dev\/etabs-block\/wp-json\/wp\/v2\/media?parent=3332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}