Cargando…

Fast flow-based algorithm for creating density-equalizing map projections

Cartograms are maps that rescale geographic regions (e.g., countries, districts) such that their areas are proportional to quantitative demographic data (e.g., population size, gross domestic product). Unlike conventional bar or pie charts, cartograms can represent correctly which regions share comm...

Descripción completa

Detalles Bibliográficos
Autores principales: Gastner, Michael T., Seguy, Vivien, More, Pratyush
Formato: Online Artículo Texto
Lenguaje:English
Publicado: National Academy of Sciences 2018
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5877977/
https://www.ncbi.nlm.nih.gov/pubmed/29463721
http://dx.doi.org/10.1073/pnas.1712674115
_version_ 1783310797108150272
author Gastner, Michael T.
Seguy, Vivien
More, Pratyush
author_facet Gastner, Michael T.
Seguy, Vivien
More, Pratyush
author_sort Gastner, Michael T.
collection PubMed
description Cartograms are maps that rescale geographic regions (e.g., countries, districts) such that their areas are proportional to quantitative demographic data (e.g., population size, gross domestic product). Unlike conventional bar or pie charts, cartograms can represent correctly which regions share common borders, resulting in insightful visualizations that can be the basis for further spatial statistical analysis. Computer programs can assist data scientists in preparing cartograms, but developing an algorithm that can quickly transform every coordinate on the map (including points that are not exactly on a border) while generating recognizable images has remained a challenge. Methods that translate the cartographic deformations into physics-inspired equations of motion have become popular, but solving these equations with sufficient accuracy can still take several minutes on current hardware. Here we introduce a flow-based algorithm whose equations of motion are numerically easier to solve compared with previous methods. The equations allow straightforward parallelization so that the calculation takes only a few seconds even for complex and detailed input. Despite the speedup, the proposed algorithm still keeps the advantages of previous techniques: With comparable quantitative measures of shape distortion, it accurately scales all areas, correctly fits the regions together, and generates a map projection for every point. We demonstrate the use of our algorithm with applications to the 2016 US election results, the gross domestic products of Indian states and Chinese provinces, and the spatial distribution of deaths in the London borough of Kensington and Chelsea between 2011 and 2014.
format Online
Article
Text
id pubmed-5877977
institution National Center for Biotechnology Information
language English
publishDate 2018
publisher National Academy of Sciences
record_format MEDLINE/PubMed
spelling pubmed-58779772018-04-02 Fast flow-based algorithm for creating density-equalizing map projections Gastner, Michael T. Seguy, Vivien More, Pratyush Proc Natl Acad Sci U S A PNAS Plus Cartograms are maps that rescale geographic regions (e.g., countries, districts) such that their areas are proportional to quantitative demographic data (e.g., population size, gross domestic product). Unlike conventional bar or pie charts, cartograms can represent correctly which regions share common borders, resulting in insightful visualizations that can be the basis for further spatial statistical analysis. Computer programs can assist data scientists in preparing cartograms, but developing an algorithm that can quickly transform every coordinate on the map (including points that are not exactly on a border) while generating recognizable images has remained a challenge. Methods that translate the cartographic deformations into physics-inspired equations of motion have become popular, but solving these equations with sufficient accuracy can still take several minutes on current hardware. Here we introduce a flow-based algorithm whose equations of motion are numerically easier to solve compared with previous methods. The equations allow straightforward parallelization so that the calculation takes only a few seconds even for complex and detailed input. Despite the speedup, the proposed algorithm still keeps the advantages of previous techniques: With comparable quantitative measures of shape distortion, it accurately scales all areas, correctly fits the regions together, and generates a map projection for every point. We demonstrate the use of our algorithm with applications to the 2016 US election results, the gross domestic products of Indian states and Chinese provinces, and the spatial distribution of deaths in the London borough of Kensington and Chelsea between 2011 and 2014. National Academy of Sciences 2018-03-06 2018-02-20 /pmc/articles/PMC5877977/ /pubmed/29463721 http://dx.doi.org/10.1073/pnas.1712674115 Text en Copyright © 2018 the Author(s). Published by PNAS. https://creativecommons.org/licenses/by-nc-nd/4.0/ This open access article is distributed under Creative Commons Attribution-NonCommercial-NoDerivatives License 4.0 (CC BY-NC-ND) (https://creativecommons.org/licenses/by-nc-nd/4.0/) .
spellingShingle PNAS Plus
Gastner, Michael T.
Seguy, Vivien
More, Pratyush
Fast flow-based algorithm for creating density-equalizing map projections
title Fast flow-based algorithm for creating density-equalizing map projections
title_full Fast flow-based algorithm for creating density-equalizing map projections
title_fullStr Fast flow-based algorithm for creating density-equalizing map projections
title_full_unstemmed Fast flow-based algorithm for creating density-equalizing map projections
title_short Fast flow-based algorithm for creating density-equalizing map projections
title_sort fast flow-based algorithm for creating density-equalizing map projections
topic PNAS Plus
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5877977/
https://www.ncbi.nlm.nih.gov/pubmed/29463721
http://dx.doi.org/10.1073/pnas.1712674115
work_keys_str_mv AT gastnermichaelt fastflowbasedalgorithmforcreatingdensityequalizingmapprojections
AT seguyvivien fastflowbasedalgorithmforcreatingdensityequalizingmapprojections
AT morepratyush fastflowbasedalgorithmforcreatingdensityequalizingmapprojections