{"id":357,"date":"2012-03-13T23:17:34","date_gmt":"2012-03-13T23:17:34","guid":{"rendered":"https:\/\/www.anychart.com\/blog\/?p=357"},"modified":"2018-11-27T14:39:00","modified_gmt":"2018-11-27T14:39:00","slug":"how-to-choose-chartgraph-type-for-seeing-data-over-time","status":"publish","type":"post","link":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/","title":{"rendered":"How to Choose Chart\/Graph Type for Seeing Data Over Time"},"content":{"rendered":"<p>We continue publishing tips for choosing between different types of charts. Last time we were talking about <a href=\"https:\/\/www.anychart.com\/blog\/2012\/01\/27\/how-to-choose-chartgraph-type-for-comparing-data\/\" target=\"_blank\">comparing data<\/a>, and today we will focus on <b>seeing data over time<\/b>.<\/p>\n<p>The most popular and adequate ways to visualize time-based data are <b>bar graphs<\/b> and <b>line graphs<\/b>. What is the difference between them? First, large sets of data are better visualized via line graphs since line graphs are good in showing trends, and bar graphs in this case just look overcomplicated. Second, bar graphs emphasize the magnitude of changes, so they are an excellent way to demonstrate data with sharp fluctuations.<\/p>\n<p><b>Example 1.<\/b><\/p>\n<p>The following graph shows <a href=\"http:\/\/en.wikipedia.org\/wiki\/Demographics_of_Cambodia\" target=\"_blank\" rel=\"nofollow\">the number of deaths per year in Cambodia<\/a> between 1960 and 1990 according to UN estimates:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png\"><\/center><\/p>\n<p>As you can see, there was a sharp increase of mortality in 1975-1980, which is almost the same period when Cambodia was under the Pol Pot regime (1975-1979). Our graph clearly shows the scale of the genocide this regime is responsible for.<\/p>\n<p><b>Example 2.<\/b><\/p>\n<p>And now we are going to demonstrate demographic data about Cambodia for a longer period: since 1950 and including modernity. A bar graph is not the best choice in this situation. Instead, we will use a line graph:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1950-2010-anychart.png\"><\/center><\/p>\n<p>This visualization still shows the increase of mortality in 1975 quite well and at the same time comprehensively represents the long-term trend.<\/p>\n<p><b>Example 3.<\/b><\/p>\n<p>Sometimes a value we are interested in changes discreetly, i.e. stays constant between change points. For example, stamp prices change only in the rare moments when new stamps with new denominations are emitted. In this case we can choose a bar graph since it represents data discreetly, but what if our data covers a long period of time? A bar graph would be difficult to read, but a line graph should not be used either because to connect two points with a line would mean to distort the real picture.<\/p>\n<p>Fortunately, there is one useful variation of line graphs &#8211; <b>step line graphs<\/b>. To connect data points they use only vertical and horizontal segments instead of straight lines. Here is such a graph demonstrating <a href=\"http:\/\/en.wikipedia.org\/wiki\/History_of_United_States_postage_rates\" target=\"_blank\" rel=\"nofollow\">the US Postal Service prices for first class stamps<\/a> from 1975 to 2008:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/6.anychart.com\/blog\/images\/usps-stamp-price-1974-2008-stepline-anychart.png\"><\/center><\/p>\n<p>Step line graphs combine advantages of bar and line charts, being good at both showing trends and making the magnitude of changes explicit. And by omitting change points you can focus on the periods when the represented value is constant:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/6.anychart.com\/blog\/images\/usps-stamp-price-1974-2008-plain-line-anychart.png\"><\/center><\/p>\n<p>See also: <a href='http:\/\/6.anychart.com\/products\/anychart\/docs\/users-guide\/Line-Spline-Step-Line-Chart.html#step_line' target='_blank' target=\"_blank\" rel=\"nofollow\">Creating Step Line Chart with AnyChart<\/a> and <a href='http:\/\/6.anychart.com\/products\/anychart\/gallery\/Line-Spline-Step-Line-Charts.php' target='_blank' target=\"_blank\" rel=\"nofollow\">Line, Spline, Step Line Charts Gallery<\/a><\/p>\n<p>That is all for today, more <a href='https:\/\/www.anychart.com\/blog\/category\/tips-and-tricks\/' target='_blank'>tips<\/a> are coming soon.<\/p>\n<p style=\"padding-left: 30px;\"><em><strong>Check the updated article on <a href=\"https:\/\/www.anychart.com\/blog\/2017\/04\/26\/data-over-time-trend-chart-types\/\">how to choose chart\/graph type for seeing data over time<\/a> published within the framework of the new 7-part <a href=\"https:\/\/www.anychart.com\/blog\/category\/choosing-chart-type\/\">Choose Chart Type<\/a> feature on our blog.<\/strong><\/em><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>We continue publishing tips for choosing between different types of charts. Last time we were talking about comparing data, and today we will focus on seeing data over time. The most popular and adequate ways to visualize time-based data are bar graphs and line graphs. What is the difference between them? First, large sets of [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[30],"class_list":["post-357","post","type-post","status-publish","format-standard","hentry","category-anychart-charting-component","category-tips-and-tricks","tag-tips-and-tricks","wpautop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Choose Chart\/Graph Type for Seeing Data Over Time | AnyChart News<\/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:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Choose Chart\/Graph Type for Seeing Data Over Time | AnyChart News\" \/>\n<meta property=\"og:description\" content=\"We continue publishing tips for choosing between different types of charts. Last time we were talking about comparing data, and today we will focus on seeing data over time. The most popular and adequate ways to visualize time-based data are bar graphs and line graphs. What is the difference between them? First, large sets of [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/\" \/>\n<meta property=\"og:site_name\" content=\"AnyChart News\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AnyCharts\" \/>\n<meta property=\"article:published_time\" content=\"2012-03-13T23:17:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-27T14:39:00+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png\" \/>\n<meta name=\"author\" content=\"Margaret Skomorokh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:site\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Margaret Skomorokh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/\"},\"author\":{\"name\":\"Margaret Skomorokh\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\"},\"headline\":\"How to Choose Chart\/Graph Type for Seeing Data Over Time\",\"datePublished\":\"2012-03-13T23:17:34+00:00\",\"dateModified\":\"2018-11-27T14:39:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/\"},\"wordCount\":463,\"commentCount\":2,\"image\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png\",\"keywords\":[\"Tips and tricks\"],\"articleSection\":[\"AnyChart Charting Component\",\"Tips and Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/\",\"url\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/\",\"name\":\"How to Choose Chart\/Graph Type for Seeing Data Over Time | AnyChart News\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png\",\"datePublished\":\"2012-03-13T23:17:34+00:00\",\"dateModified\":\"2018-11-27T14:39:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage\",\"url\":\"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png\",\"contentUrl\":\"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.anychart.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Choose Chart\/Graph Type for Seeing Data Over Time\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\",\"url\":\"https:\/\/www.anychart.com\/blog\/\",\"name\":\"AnyChart News\",\"description\":\"AnyChart JS Charts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.anychart.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\",\"name\":\"Margaret Skomorokh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g\",\"caption\":\"Margaret Skomorokh\"},\"url\":\"https:\/\/www.anychart.com\/blog\/author\/margaret-skomorokh\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Choose Chart\/Graph Type for Seeing Data Over Time | AnyChart News","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:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/","og_locale":"en_US","og_type":"article","og_title":"How to Choose Chart\/Graph Type for Seeing Data Over Time | AnyChart News","og_description":"We continue publishing tips for choosing between different types of charts. Last time we were talking about comparing data, and today we will focus on seeing data over time. The most popular and adequate ways to visualize time-based data are bar graphs and line graphs. What is the difference between them? First, large sets of [&hellip;]","og_url":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/","og_site_name":"AnyChart News","article_publisher":"https:\/\/www.facebook.com\/AnyCharts","article_published_time":"2012-03-13T23:17:34+00:00","article_modified_time":"2018-11-27T14:39:00+00:00","og_image":[{"url":"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png","type":"","width":"","height":""}],"author":"Margaret Skomorokh","twitter_card":"summary_large_image","twitter_creator":"@AnyChart","twitter_site":"@AnyChart","twitter_misc":{"Written by":"Margaret Skomorokh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#article","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/"},"author":{"name":"Margaret Skomorokh","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555"},"headline":"How to Choose Chart\/Graph Type for Seeing Data Over Time","datePublished":"2012-03-13T23:17:34+00:00","dateModified":"2018-11-27T14:39:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/"},"wordCount":463,"commentCount":2,"image":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage"},"thumbnailUrl":"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png","keywords":["Tips and tricks"],"articleSection":["AnyChart Charting Component","Tips and Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/","url":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/","name":"How to Choose Chart\/Graph Type for Seeing Data Over Time | AnyChart News","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage"},"image":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage"},"thumbnailUrl":"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png","datePublished":"2012-03-13T23:17:34+00:00","dateModified":"2018-11-27T14:39:00+00:00","author":{"@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555"},"breadcrumb":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#primaryimage","url":"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png","contentUrl":"http:\/\/6.anychart.com\/blog\/images\/cambodia-deaths-per-year-1960-1990-anychart.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.anychart.com\/blog\/2012\/03\/13\/how-to-choose-chartgraph-type-for-seeing-data-over-time\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.anychart.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Choose Chart\/Graph Type for Seeing Data Over Time"}]},{"@type":"WebSite","@id":"https:\/\/www.anychart.com\/blog\/#website","url":"https:\/\/www.anychart.com\/blog\/","name":"AnyChart News","description":"AnyChart JS Charts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.anychart.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555","name":"Margaret Skomorokh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g","caption":"Margaret Skomorokh"},"url":"https:\/\/www.anychart.com\/blog\/author\/margaret-skomorokh\/"}]}},"_links":{"self":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":4,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/357\/revisions"}],"predecessor-version":[{"id":6926,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/357\/revisions\/6926"}],"wp:attachment":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/media?parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/categories?post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/tags?post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}