{"id":1655,"date":"2026-06-22T22:04:38","date_gmt":"2026-06-23T02:04:38","guid":{"rendered":"https:\/\/carleton.ca\/determinants\/?p=1655"},"modified":"2026-06-22T22:04:39","modified_gmt":"2026-06-23T02:04:39","slug":"data-visualization-lexis-diagrams-and-mortality","status":"publish","type":"post","link":"https:\/\/carleton.ca\/determinants\/2026\/data-visualization-lexis-diagrams-and-mortality\/","title":{"rendered":"Data Visualization: Lexis Diagrams and Mortality"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        Data Visualization: Lexis Diagrams and Mortality\n                    <\/h1>\n                \n                                \n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n<p>Epidemiology and public health are grounded by the use of core demographic statistics, such as mortality rates and life expectancy. Indicators such as mortality rates are usually presented as tables or basic charts; however, there is significant potential in data visualization techniques to improve understanding and dissemination of these statistics. This project aims to use interactive visualizations to interpret Canadian mortality indicators by age, sex, socioeconomic status, and cause of death.&nbsp;<\/p>\n\n\n\n<p><strong>Methods:<\/strong>&nbsp;Visualizations were developed using compositional Lexis surface diagrams, age-wise plots, and plots of small-multiples. Recent and historical data on deaths by age, sex, and selected cause and population counts were sourced from the Human Mortality Database and Statistics Canada Vital Statistics files. Data cleaning and analysis were conducted using R and RStudio, with open-source code shared via GitHub. For each visualization type, interactive applications were developed using Shiny and made available publicly online via open access.<\/p>\n\n\n\n<p><strong>Results:<\/strong>\u00a0Four interactive Shiny applications were produced: (1) a Lexis Surface Plot from 1921-2022; (2) Small Multiples Plot from 1950-2019; (3) Multiple Lexis Surface Plots from 2002-2021; and (4) Age-Wise Plots 1950-2019 and 2002-2021. Each plot includes written evidence-based descriptions on the association between mortality and other factors. These tools will be useful to provide insight into longitudinal mortality patterns for students, researchers, public health agencies, and the general public.\u00a0<\/p>\n\n\n\n<p><strong>Conclusion:<\/strong>\u00a0Interactive visualizations provide enhanced insight into mortality analysis. Visualizations can be modified to include features that improve accessibility for diverse audiences. Future research can expand the use of Lexis diagrams to create applications at disaggregated levels to support health research and policy.<\/p>\n\n\n\n    \n\n\n                                                                                                                                                                                                                                                                                                                                                        \n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white cu-section--cards ml-offset-center md:px-8 lg:px-14\" data-attributes=\"&#x7B;&quot;numberOfColumns&quot;&#x3A;2,&quot;numberOfPosts&quot;&#x3A;1,&quot;blockType&quot;&#x3A;&quot;cards&quot;,&quot;contentType&quot;&#x3A;&quot;cu_file&quot;,&quot;currentPage&quot;&#x3A;1,&quot;blockBackground&quot;&#x3A;&quot;white&quot;,&quot;showAllPosts&quot;&#x3A;false,&quot;order&quot;&#x3A;&quot;ASC&quot;,&quot;orderBy&quot;&#x3A;&quot;title&quot;,&quot;moreButton&quot;&#x3A;&quot;none&quot;,&quot;showFilter&quot;&#x3A;false,&quot;taxName&quot;&#x3A;&quot;cu_file_type&quot;,&quot;categories&quot;&#x3A;&quot;173&quot;,&quot;tags&quot;&#x3A;&quot;&quot;&#x7D;\" data-page=\"2\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n                \n                \n        <div class=\"cu-loading hidden text-center mx-auto h-6 w-6 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]\" role=\"status\">\n    <span class=\"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]\">\n        Loading&#8230;\n    <\/span>\n<\/div>\n\n                                        \n        <p class=\"cu-no-posts hidden\">\n            No\n            file\n\n            posts are available.\n        <\/p>\n\n                <div class=\"cu-column cu-component not-contained mx-auto grid max-w-5xl md:grid-cols-2 gap-6 md:gap-10\">\n                        \n                    \n    \n    \n<div class=\"not-prose cu-card rounded-lg @container md:max-w-lg flex flex-col gap-3 bg-white shadow-lg shadow-cu-black-100 \">\n    <figure class=\"flex items-center justify-center w-10 h-10 mx-6 mt-6 mb-2 overflow-hidden \">\n        <img decoding=\"async\" src=\"https:\/\/cdn.carleton.ca\/rds\/assets\/font-awesome\/file-pdf.svg\" alt=\"An icon of a saxophone\" class=\"cu-icon-thumb \" style=\"filter: invert(20%) sepia(50%) saturate(7177%) hue-rotate(348deg) brightness(91%) contrast(100%);\"><\/figure>\n\n        \n            <header class=\"flex flex-col gap-3  px-6 text-left first:mt-6\">\n                \n        \n    \n    <h2 class=\"line-clamp-3 text-lg font-semibold text-cu-black @sm:md:text-xl leading-6 @sm:md:leading-8\">\n        Report: Data Visualization of Complex Health Information\n    <\/h2>\n\n            <\/header>\n\n\n        <div class=\"flex flex-col px-6 text-left\">\n            <p class=\"text-base text-cu-black-700\">\n                \n            <\/p>\n        <\/div>\n        <footer class=\"px-6 pt-3 mt-auto md:pt-5\">\n            <a href=\"https:\/\/carleton.ca\/determinants\/wp-content\/uploads\/sites\/79\/2026\/06\/Mortality_Report.pdf\" class=\"cu-button cu-button--red cu-button--small\">\n                Download\n                <span class=\"sr-only\">\n                    Report: Data Visualization of Complex Health Information\n                <\/span>\n            <\/a>\n        <\/footer>\n    <\/div>\n    \n                    \n        <\/div>\n        \n                                    \n    <\/div>\n<\/section>\n\n\n\n<p>Interactive applications are available via the following links:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/spatialdeterminants.shinyapps.io\/Lexis_VitStats\/\">Lexis Surface Plot: Mortality in Canada Based on Sex and Age from 1921-2022<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/spatialdeterminants.shinyapps.io\/HMD_Small_Multiples\/\">Small Multiples Plot: Analysis of Sex, Age, and Cause of Death from 1950-2019<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/spatialdeterminants.shinyapps.io\/HMD_Small_Multiples\/\">Multiple Lexis Surface Plots: Analysis of Sex, Age, Cause of Death, and Socioeconomic Status from 2002-2021<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/spatialdeterminants.shinyapps.io\/AgeWise\/\">Age-Wise Plots: Analysis of Age, Cause of Death, and Socioeconomic Status from 1950-2019 and 2002-2021<\/a><\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Epidemiology and public health are grounded by the use of core demographic statistics, such as mortality rates and life expectancy. Indicators such as mortality rates are usually presented as tables or basic charts; however, there is significant potential in data visualization techniques to improve understanding and dissemination of these statistics. This project aims to use [&hellip;]<\/p>\n","protected":false},"author":234,"featured_media":1731,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[24,120,26,27],"tags":[],"class_list":["post-1655","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-health","category-multiple-cause-of-death","category-population-studies","category-social-determinants-2"],"acf":{"cu_post_thumbnail":""},"_links":{"self":[{"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/posts\/1655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/users\/234"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/comments?post=1655"}],"version-history":[{"count":5,"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/posts\/1655\/revisions"}],"predecessor-version":[{"id":1730,"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/posts\/1655\/revisions\/1730"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/media\/1731"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/media?parent=1655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/categories?post=1655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carleton.ca\/determinants\/wp-json\/wp\/v2\/tags?post=1655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}