{'fraction_non_alphanumeric': 0.017490952955367914, 'fraction_numerical': 0.0, 'mean_word_length': 5.5058823529411764, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Exploring the demographic history of populations with enhanced Lexis surfaces

Lexis surfaces are widely used to analyze demographic trends across periods, ages, and birth cohorts. When used to visualize rates or similar, these plots usually do not convey information about population size. The failure to communicate population size in Lexis surfaces can lead to misinterpretations of the mortality conditions populations face because, for example, high mortality rates at very high ages have historically been experienced by only a small proportion of a population or cohort. We propose enhanced Lexis surfaces that include a visual representation of population size. The examples we present demonstrate how such plots can give readers a more intuitive understanding of the demographic development of a population over time. Visualizations are implemented using an R-Shiny application, building upon perception theories. We present example plots for enhanced Lexis surfaces that show trends in cohort mortality and first-order differences in cohort mortality developments. These plots illustrate how adding the cohort size dimension allows us to extend the analytical potential of standard Lexis surfaces. Our enhanced Lexis surfaces improve conventional depictions of period, age, and cohort trends in demographic developments of populations and cohorts. An online interactive visualization tool based on Human Mortality Database data allows users to generate and export enhanced Lexis surfaces for their research. The R code to generate the application (and a link to the deployed application) can be accessed at https://github.com/cimentadaj/lexis_plot.