{"id":21871,"date":"2021-12-28T13:38:07","date_gmt":"2021-12-28T13:38:07","guid":{"rendered":"https:\/\/www.highcharts.com\/blog\/?p=21871"},"modified":"2026-01-13T11:23:38","modified_gmt":"2026-01-13T11:23:38","slug":"continuous-data-type-101","status":"publish","type":"post","link":"https:\/\/www.highcharts.com\/blog\/tutorials\/continuous-data-type-101\/","title":{"rendered":"Continuous Data Type 101"},"content":{"rendered":"<p>In the previous article, I covered <a href=\"https:\/\/www.highcharts.com\/blog\/tutorials\/categorical-data-type-101\/\" target=\"_blank\" rel=\"noopener\"><b>the categorical data type<\/b><\/a>. In this article, I explore continuous data and the mathematical tools used to analyze this data type. If you are familiar with data types and data visualization objectives, feel free to jump straight into the <a href=\"https:\/\/www.highcharts.com \/blog\/chartchooser\/\" target=\"_blank\" rel=\"noopener\"><b>Chart Chooser tool<\/b><\/a> to create effective charts.<\/p>\n<p>Let\u2019s begin.<\/p>\n<p>Here is an excellent chart to represent the hierarchy of all data types:<\/p>\n<p><iframe style=\"width: 100%; height: 480px; border: none;\" title=\"An organizational chart displays the data types hierarchy \" src=\"https:\/\/assets.highcharts.com\/demos\/samples\/embed\/highcharts\/blog\/data-type\"><\/iframe><\/p>\n<p>Data is labeled continuous if the values are measured; for example, I have \u201cX\u201d kilograms of potatoes. The continuous data could be discrete (.., -1, 0, 1, 2, ..) or continuous (\u2026, 0.123, 0,456, \u2026).<\/p>\n<p>Continuous data could be either <b>Interval<\/b> or <b>Ratio<\/b>.<\/p>\n<h2>1. Interval data<\/h2>\n<p>Interval data represents values where proportion doesn\u2019t make sense, and zero has no meaning. For example, a person with 160 IQ <b>is not<\/b> twice as intelligent as a person with an IQ of 80. A temperature of 20\u00b0 <b>is not<\/b> 20 times more than 0\u00b0.<\/p>\n<p>Example of interval data:<\/p>\n<ul>\n<li>Intelligence quotient or IQ.<\/li>\n<li>Temperature.<\/li>\n<li>Time of the day, ex: 1 pm, 2 pm, 4 am, etc.<\/li>\n<\/ul>\n<p><b>Remark<\/b><br \/>\nDue to the nature of the interval data, such as no meaning of proportions and zero, this data type is often used in social science: IQ, test score, income ranges, etc.<\/p>\n<h3>1.1. Statistical methods<\/h3>\n<p>Here are the statistical tools to explore the interval data:<\/p>\n<ul>\n<li>Percentiles, median, interquartile range.<\/li>\n<li>Mean, median, or mode.<\/li>\n<li>Standard deviation, range, or IQR.<\/li>\n<\/ul>\n<h3>1.2. Visualization<\/h3>\n<p>Line, histogram, and boxplot are the most used charts to visualize interval data since they are well suited to display statistical elements such as percentiles, median, etc.<\/p>\n<p>The line chart below visualizes Tokyo and London temperature changes over 12 months.<\/p>\n<p><iframe style=\"width: 100%; height: 490px; border: none;\" title=\"A line chart visualizes Tokyo and London temperature changes over 12 months\" src=\"https:\/\/assets.highcharts.com\/demos\/samples\/embed\/highcharts\/demo\/spline-symbols?hide-description\"><\/iframe><\/p>\n<h2>2. Ratio data<\/h2>\n<p>For ratio data, <b>zero<\/b> has a meaning as a point of reference, and proportions make sense. For example, I can say that 4kg is two times 2kg or 4 times 1kg, and the minimum weight is 0kg.<\/p>\n<p>Example of ratio data:<\/p>\n<ul>\n<li>Distance: 5km, 1,84m, etc.<\/li>\n<li>Weight: 81.5kg.<\/li>\n<li>Days: 2 or 3 days.<\/li>\n<li>Times: 1 hour, 34min.<\/li>\n<\/ul>\n<p><b>Remark<\/b><br \/>\nNotice that ratio data does not have negative values, as there is no negative height or weight. Ratio data is popular in physical sciences.<\/p>\n<h3>2.1. Statistical methods<\/h3>\n<p>Here are the statistical tools to explore the ratio data:<\/p>\n<ul>\n<li>Percentiles, median, interquartile range.<\/li>\n<li>Mean, median, or mode.<\/li>\n<li>Standard deviation, range, or IQR.<\/li>\n<\/ul>\n<h3>2.2. Visualization<\/h3>\n<p>Like interval data, histogram and boxplot are used charts to visualize ratio data. The box plot demo below shows the daily company consumption 2019.<\/p>\n<p><iframe style=\"width: 100%; height: 510px; border: none;\" title=\"A box plot demo shows the daily company consumption 2019.\" src=\"https:\/\/assets.highcharts.com\/demos\/samples\/embed\/highcharts\/demo\/advanced-accessible?hide-description\"><\/iframe><\/p>\n<p>Now that you\u2019ve read about continuous data, and I assume you also read about categorical data ;), you have an idea about how to type your data and which statistical tools and data visualizations you can use to explore it. But don\u2019t stop here; these articles just scratch the surface. Typing your data in real-life could be challenging since the data collection process significantly influences data types.<\/p>\n<p>Nevertheless, you are well equipped to continue your data science journey and ready to use the <a href=\"https:\/\/www.highcharts.com\/blog\/chartchooser\/\" target=\"_blank\" rel=\"noopener\"><b>Chart Chooser tool<\/b><\/a> to explore what chart can help you get the insights you need.<\/p>\n<p>Let me know your comment and question in the comment section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discover the continuous data type and the visualization that will allow you to get the best insight from your dataset.<\/p>\n","protected":false},"author":32,"featured_media":21883,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"meta_title":"","meta_description":"","hc_selected_options":[],"footnotes":""},"categories":[210],"tags":[1063],"coauthors":[699],"class_list":["post-21871","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-data-visualization"],"_links":{"self":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts\/21871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/comments?post=21871"}],"version-history":[{"count":2,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts\/21871\/revisions"}],"predecessor-version":[{"id":29362,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/posts\/21871\/revisions\/29362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/media\/21883"}],"wp:attachment":[{"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/media?parent=21871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/categories?post=21871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/tags?post=21871"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.highcharts.com\/blog\/wp-json\/wp\/v2\/coauthors?post=21871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}