{"id":937,"date":"2015-08-06T14:00:43","date_gmt":"2015-08-06T14:00:43","guid":{"rendered":"http:\/\/localhost\/?p=937"},"modified":"2018-08-11T09:32:05","modified_gmt":"2018-08-11T08:32:05","slug":"displaying-data-part-to-whole-relationships","status":"publish","type":"post","link":"https:\/\/visualagency.com\/?p=937","title":{"rendered":"Displaying Data: Part-to-whole relationships"},"content":{"rendered":"<p>In this post for our ongoing series on Displaying Data, I\u2019ll be looking at <strong>part-to-whole relationships<\/strong>.<\/p>\n<p>Part-to-whole relationships aren&#8217;t just about how things are divided, it&#8217;s about how they&#8217;re divided in relation to their whole and to each other.<\/p>\n<p>Below I will be presenting the various kinds of data visualisation used to relate a set of values to their total. \u00a0Typically, these charts are used to visualise percentages, but that isn&#8217;t always the case.<\/p>\n<p>&nbsp;<\/p>\n<h2>Pie Charts<\/h2>\n<p>Probably the mostly commonly and misused chart in presentations and offices, pie charts are ideal for giving the reader a quick view of the proportional distribution between values.<\/p>\n<p>Pie charts display the proportions between categories by\u00a0dividing a circle into proportional segments for each category. \u00a0Each segment\/slice is drawn by an arc length and the full circle represents the total sum of all the\u00a0values.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/pie-chart2-01.png\" alt=\"Part-to-whole\" \/><\/p>\n<p>The order slices are arranged can improve the effectiveness of a pie chart. \u00a0Placing the largest segment at the 12 o&#8217;clock point on the right (clockwise) emphasises its importance as it&#8217;s the most intuitive part of the chart. \u00a0The remaining segments can be ordered from largest to smallest clockwise, if they&#8217;re of similar values. \u00a0Otherwise, the remaining segments, especially the second largest segment, is generally better placed counter-clockwise from the 12 o&#8217;clock point.<\/p>\n<p>However, the\u00a0problem with pie charts are that they are not suitable for large datasets because as the number of values or categories shown increases, the size of each segment becomes smaller until they are too small to read or compare to each other. Therefore, it&#8217;s a good idea to keep them to no more than five slices per pie chart.<\/p>\n<p>Another problem with pie charts are that they are usually not that great for making accurate comparisons between other pie charts. \u00a0This is due to fact its harder for the human visual system to distinguish the size of items by their area, rather than by their length.<\/p>\n<h2>Donut Charts<\/h2>\n<p>Essentially, donut charts are pie charts with the area in the center cut out. \u00a0This makes donuts charts a lot more space-efficient then a pie chart.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/donut-chart2-01.png\" alt=\"Part-to-whole\" \/><\/p>\n<p>Also, cutting out the area in the center makes donut charts de-emphasise the use of area, which makes readers more focused on the length of arcs, instead of comparing the proportions between slices.<\/p>\n<h2>100% Stacked Bar Graphs<\/h2>\n<p>As covered before in the comparisons post, 100% stacked bar graphs are great for comparing multiple groups of bars that show a part-to-whole relationship. \u00a0The length of each bar remains uniform (representing 100%) but is divided up into multiple segments with varying lengths that relate to the total amount.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/stacked-bar-graph-011.png\" alt=\"Part-to-whole\" width=\"913\" height=\"400\" \/><\/p>\n<p>Because length is used as the visual encoding for this form of visualisation, it&#8217;s a much easier form of visualisation to accurately distinguish changes in each value than in a pie or donut chart.<\/p>\n<p>100% stacked bar graphs are limited in the amount of segments they can contain in each bar. \u00a0As you increase the number of segments, the smaller each of them become, until the point they become too densely packed and harder to read or compare. \u00a0Also comparing the lengths of segments in different bars can be tricky, as they don&#8217;t share a common axis.<\/p>\n<h2>Marimekko Charts<\/h2>\n<p>This type of visualisation is used to display categorical data over a pair of variables, which\u00a0are placed at each axis and determine both the width and height of each rectangle segment. \u00a0This makes Marimekko charts useful for finding the relationship between multiple categories and\/or their subcategories within the two variables.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/marimekko_chart-01.png\" alt=\"Part-to-whole\" width=\"913\" height=\"400\" \/><\/p>\n<p>A good way of imagining how Marimekko charts\u00a0work, is to think of think of them as a kind-of two-way 100% stacked bar graphs, so\u00a0all the total\/grouped bars are\u00a0equal in both width and height.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/marimekko_chart_anatomy-01.png\" alt=\"Part-to-whole\" width=\"875\" height=\"467\" \/>However, unlike a 100% stacked bar graph, marimekko charts visually encode values by their area, not their length. \u00a0This is may sound confusing, considering marimekko charts have scales, but in\u00a0actuality all the segments are not on a common baseline. \u00a0This is because each part serves as a platform for the next part in the set.<\/p>\n<p>Also, like many part-to-whole charts are limited in their data capacity and lose legibility as the number of individual segments increases.<\/p>\n<h2>Treemaps<\/h2>\n<p>Although quite similar to a marimekko chart, treemaps are instead an alternative way of visualising the hierarchical structure of a tree diagram. \u00a0Treemaps can also display additional values for each category through the area size of each block. \u00a0This makes them useful for comparing the proportions between categories in a hierarchy.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/treemap-01.png\" alt=\"Part-to-whole\" width=\"913\" height=\"407\" \/>In treemaps, each category is assigned a block with the related subcategory blocks nested inside of it. \u00a0This makes treemaps a more space-efficient way to display hierarchies with assigned values.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/treemap-anatomy-01.png\" alt=\"Part-to-whole\" width=\"1000\" height=\"416\" \/>The values assigned to a category will have an area size in proportion to that quantity and to the other quantities within the same parent category, which displays a part-to-whole relationship. \u00a0The area size of the parent category is the sum total of its subcategories.<\/p>\n<h2>Sunburst Charts<\/h2>\n<p>Like with Treemaps, Sunburst charts are used to show hierarchy, but\u00a0through\u00a0a series of rings. \u00a0Each ring is a rank in the hierarchy and represents the child of the ring it has enclosed within it.<\/p>\n<figure style=\"width: 789px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/visu.al\/wp-content\/uploads\/2015\/07\/sunburst.png\" alt=\"Part-to-whole\" width=\"799\" height=\"825\" \/><figcaption class=\"wp-caption-text\">Source: A Tour Through the Visualization Zoo<\/figcaption><\/figure>\n<p>The part-to-whole relationship is visualised on\u00a0each ring by\u00a0dividing the values of each category contained within it. \u00a0Any subcategories are displayed on the next, outer ring and are also divided in proportion to the other subcategories in that group. \u00a0This makes sunburst charts resemble\u00a0a kind of multi-levelled donut chart.<\/p>\n<p>. . .<\/p>\n<p>So to recap, <strong>pie &amp; donut charts<\/strong> give the reader a quick view of the proportional distribution between small sets of categorical values;\u00a0<strong>100% stacked bar graphs<\/strong> are used for comparing multiple groups of part-to-whole relationships; <strong>marimekko charts<\/strong> are for finding the relationship between categories and\/or their subcategories in between two variables;\u00a0<strong>Treemaps<\/strong> are used for comparing the proportions between categories in a hierarchy;\u00a0<strong>Sunburst charts<\/strong>\u00a0show the part-to-whole relationships in a hierarchy on a polar grid.<\/p>\n<p>If you are considering visualising any data for a project and are still unsure which is the best visualisation to apply, please feel to <a href=\"https:\/\/visu.al\/#contact\" target=\"_blank\" rel=\"noopener\">get in contact <\/a>with us and we\u2019ll be happy to talk to you about it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post for our ongoing series on Displaying Data, I\u2019ll be looking at part-to-whole relationships. Part-to-whole relationships aren&#8217;t just about how things are divided, it&#8217;s about how they&#8217;re divided in relation to their whole and to each other. Below I will be presenting the various kinds of data visualisation used to relate a set &#8230; <a title=\"Displaying Data: Part-to-whole relationships\" class=\"read-more\" href=\"https:\/\/visualagency.com\/?p=937\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":4126,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"generate_page_header":"","footnotes":""},"categories":[7],"tags":[81,8,75,85,96],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Displaying Data: Part-to-whole relationships - VISU.AL AGENCY<\/title>\n<meta name=\"description\" content=\"Part-to-whole relationships aren&#039;t just about how things are divided, it&#039;s about how they&#039;re divided in relation to their whole and to each other.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/visualagency.com\/?p=937\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Displaying Data: Part-to-whole relationships - VISU.AL AGENCY\" \/>\n<meta property=\"og:description\" content=\"Part-to-whole relationships aren&#039;t just about how things are divided, it&#039;s about how they&#039;re divided in relation to their whole and to each other.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/visualagency.com\/?p=937\" \/>\n<meta property=\"og:site_name\" content=\"VISU.AL AGENCY\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-06T14:00:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-11T08:32:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/visualagency.com\/wp-content\/uploads\/2015\/08\/Displaying_Data_Part_to_Wholee.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"560\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Severino Ribecca\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/visualagency.com\/#website\",\"url\":\"https:\/\/visualagency.com\/\",\"name\":\"VISU.AL AGENCY\",\"description\":\"A Digital Growth Agency for the Now Generation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/visualagency.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/visualagency.com\/?p=937#primaryimage\",\"inLanguage\":\"en-GB\",\"url\":\"https:\/\/visualagency.com\/wp-content\/uploads\/2015\/08\/Displaying_Data_Part_to_Wholee.png\",\"contentUrl\":\"https:\/\/visualagency.com\/wp-content\/uploads\/2015\/08\/Displaying_Data_Part_to_Wholee.png\",\"width\":1280,\"height\":560},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/visualagency.com\/?p=937#webpage\",\"url\":\"https:\/\/visualagency.com\/?p=937\",\"name\":\"Displaying Data: Part-to-whole relationships - VISU.AL AGENCY\",\"isPartOf\":{\"@id\":\"https:\/\/visualagency.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/visualagency.com\/?p=937#primaryimage\"},\"datePublished\":\"2015-08-06T14:00:43+00:00\",\"dateModified\":\"2018-08-11T08:32:05+00:00\",\"author\":{\"@id\":\"https:\/\/visualagency.com\/#\/schema\/person\/81c7d9e4611a17421e15c988ad30d06d\"},\"description\":\"Part-to-whole relationships aren't just about how things are divided, it's about how they're divided in relation to their whole and to each other.\",\"breadcrumb\":{\"@id\":\"https:\/\/visualagency.com\/?p=937#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/visualagency.com\/?p=937\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/visualagency.com\/?p=937#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/visualagency.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Displaying Data: Part-to-whole relationships\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/visualagency.com\/#\/schema\/person\/81c7d9e4611a17421e15c988ad30d06d\",\"name\":\"Severino Ribecca\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/visualagency.com\/#personlogo\",\"inLanguage\":\"en-GB\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/887d6cd0ade62b37fdf11c0e40d40db8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/887d6cd0ade62b37fdf11c0e40d40db8?s=96&d=mm&r=g\",\"caption\":\"Severino Ribecca\"},\"url\":\"https:\/\/visualagency.com?author_name\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Displaying Data: Part-to-whole relationships - VISU.AL AGENCY","description":"Part-to-whole relationships aren't just about how things are divided, it's about how they're divided in relation to their whole and to each other.","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:\/\/visualagency.com\/?p=937","og_locale":"en_GB","og_type":"article","og_title":"Displaying Data: Part-to-whole relationships - VISU.AL AGENCY","og_description":"Part-to-whole relationships aren't just about how things are divided, it's about how they're divided in relation to their whole and to each other.","og_url":"https:\/\/visualagency.com\/?p=937","og_site_name":"VISU.AL AGENCY","article_published_time":"2015-08-06T14:00:43+00:00","article_modified_time":"2018-08-11T08:32:05+00:00","og_image":[{"width":1280,"height":560,"url":"https:\/\/visualagency.com\/wp-content\/uploads\/2015\/08\/Displaying_Data_Part_to_Wholee.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Severino Ribecca","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/visualagency.com\/#website","url":"https:\/\/visualagency.com\/","name":"VISU.AL AGENCY","description":"A Digital Growth Agency for the Now Generation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/visualagency.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"ImageObject","@id":"https:\/\/visualagency.com\/?p=937#primaryimage","inLanguage":"en-GB","url":"https:\/\/visualagency.com\/wp-content\/uploads\/2015\/08\/Displaying_Data_Part_to_Wholee.png","contentUrl":"https:\/\/visualagency.com\/wp-content\/uploads\/2015\/08\/Displaying_Data_Part_to_Wholee.png","width":1280,"height":560},{"@type":"WebPage","@id":"https:\/\/visualagency.com\/?p=937#webpage","url":"https:\/\/visualagency.com\/?p=937","name":"Displaying Data: Part-to-whole relationships - VISU.AL AGENCY","isPartOf":{"@id":"https:\/\/visualagency.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/visualagency.com\/?p=937#primaryimage"},"datePublished":"2015-08-06T14:00:43+00:00","dateModified":"2018-08-11T08:32:05+00:00","author":{"@id":"https:\/\/visualagency.com\/#\/schema\/person\/81c7d9e4611a17421e15c988ad30d06d"},"description":"Part-to-whole relationships aren't just about how things are divided, it's about how they're divided in relation to their whole and to each other.","breadcrumb":{"@id":"https:\/\/visualagency.com\/?p=937#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/visualagency.com\/?p=937"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/visualagency.com\/?p=937#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/visualagency.com\/"},{"@type":"ListItem","position":2,"name":"Displaying Data: Part-to-whole relationships"}]},{"@type":"Person","@id":"https:\/\/visualagency.com\/#\/schema\/person\/81c7d9e4611a17421e15c988ad30d06d","name":"Severino Ribecca","image":{"@type":"ImageObject","@id":"https:\/\/visualagency.com\/#personlogo","inLanguage":"en-GB","url":"https:\/\/secure.gravatar.com\/avatar\/887d6cd0ade62b37fdf11c0e40d40db8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/887d6cd0ade62b37fdf11c0e40d40db8?s=96&d=mm&r=g","caption":"Severino Ribecca"},"url":"https:\/\/visualagency.com?author_name"}]}},"_links":{"self":[{"href":"https:\/\/visualagency.com\/index.php?rest_route=\/wp\/v2\/posts\/937"}],"collection":[{"href":"https:\/\/visualagency.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/visualagency.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/visualagency.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/visualagency.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=937"}],"version-history":[{"count":0,"href":"https:\/\/visualagency.com\/index.php?rest_route=\/wp\/v2\/posts\/937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/visualagency.com\/index.php?rest_route=\/wp\/v2\/media\/4126"}],"wp:attachment":[{"href":"https:\/\/visualagency.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/visualagency.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/visualagency.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}