The plots in "Visualizing compositional data on the Lexis surface" can be reproduced using the R language and the code and data below. /code/00-prepare_data.R : Prepares the data for plotting. Run first. /code/example0-standard_lexis_surfaces.R : Recreates figure 2 and B.1. /code/example1-ternary_balance_scheme.R : Recreates figure 4. /code/example2-qualitative_sequential_scheme.R : Recreates figure 5. /code/example3-age_wise_area_plot.R : Recreates figure 6. /code/example4-small_multiples.R : Recreates figure 7. /data/cod_names.csv : Contains ICD codes and labels. /data/ined-cod-fra-1925-1999-counts.csv : Number of deaths by cause (see file for further details). /data/ined-cod-fra-1925-1999-rates.csv : Death rates by cause (see file for further details).