SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
A SERIES OF UNFORTUNATE MAPS
AND HOW TO FIX THEM WITH CARTO BUILDER
SUPPORT TEAM MANAGER & SOLUTIONS ENGINEER
JORGE SANZ - jorge@carto.com
HOW TO VISUALIZE
ALL NON-DOMINANT CATEGORIES
FROM A 10M DATASET
PROBLEMS
1. COUNT(*) = 9,855,420
2. COUNT(DISTINCT category) = 294
3. COUNT(*) WHERE category ~* ‘telefonica’ = 4,141,712
4. Row order
Density map with
a 30 % subsample
and screen blending
v0
Category map with
a 30 % subsample
v 1
ORDERING
1. Normalize categories.
2. Create a simple table like this one:
3. JOIN the original dataset with this new table,
using the category column as foreign key.
4. ORDER the table by category column setting
ASC in order to show the categories with less
rows first.
category order
telefonica 1
vodafone 2
orange 3
yoigo 4
other 5
STYLING
You can change marker opacity
to change the visual prominence
of a category
Markers on top can be more
transparent than the ones at the
bottom
HOW TO SHOW
MANY POINTS THAT SHARE
THE SAME LOCATION
PROBLEMS 1. POINTS SHARING SAME LOCATION
2. NO INTERACTIVITY
HEATMAP
SPIDERINGCLUSTERING
STACKING CHIPS
1. PostGIS:
● GROUP BY the_geom
● ORDER BY y-axis
● Generate p value
2. CartoCSS (or Javascript):
● Translate
● Offset based on zoom
level
JSON on SQL
and loops on popups
AGGREGATING
POINTS
1. Aggregate one field:
● json_agg()
2. Aggregate several fields:
● json_agg(row_to_json())
HOW TO SYMBOLIZE
DIFFERENT ATTRIBUTES ON THE
SAME LAYER GEOMETRY
PROBLEMS 1. TOO MANY VARIABLES WITHOUT HIERARCHY
2. SAME LAYER GEOMETRY
Tools to filter data in
real-time to identify trends
& relationships
WIDGETS
Visualize the
multi-dimensional
nature of your data in
real-time
AUTO-STYLE
TURBO CARTO
polygon-fill:
ramp([masters_degree],cartocolor(PurpOr),quantiles(5));
Thematic map styling with a
single line of code
TURBO CARTO
[masters_degree <= 0.451523545706371] {polygon-fill: #6c2167;}
[masters_degree <= 0.200426439232409] {polygon-fill: #a24186;}
[masters_degree <= 0.137369033760186] {polygon-fill: #ca699d;}
[masters_degree <= 0.0843373493975904] {polygon-fill: #e498b4;}
[masters_degree <= 0.0418410041841004] {polygon-fill: #f3cbd3;}
Designed specifically for use with
CARTO basemaps or not...
CARTO COLORS
Data driven color schemes
CARTO COLORS
SEQUENTIAL
DIVERGING
QUALITATIVE
CONCLUSIONS
SUPPORT TEAM MANAGER & SOLUTIONS ENGINEER
THANKS!
A SERIES OF UNFORTUNATE MAPS
http://bit.ly/170719-unfortunate-maps
JORGE SANZ - jorge@carto.com
A series of unfortunate maps, and how to fix them

Contenu connexe

Plus de Jorge Sanz

Plus de Jorge Sanz (20)

Trabajo en remoto, o cómo pasar el día entero en pijama
Trabajo en remoto, o cómo pasar el día entero en pijamaTrabajo en remoto, o cómo pasar el día entero en pijama
Trabajo en remoto, o cómo pasar el día entero en pijama
 
Location Intellligence para administraciones públicas
Location Intellligence para administraciones públicasLocation Intellligence para administraciones públicas
Location Intellligence para administraciones públicas
 
Más aplicaciones y menos geoportales
Más aplicaciones y menos geoportalesMás aplicaciones y menos geoportales
Más aplicaciones y menos geoportales
 
CARTO 2017
CARTO 2017CARTO 2017
CARTO 2017
 
CARTO ENGINE
CARTO ENGINECARTO ENGINE
CARTO ENGINE
 
Location Intelligence & Data Visualization
Location Intelligence & Data VisualizationLocation Intelligence & Data Visualization
Location Intelligence & Data Visualization
 
CARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysisCARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysis
 
From producers to consumers: democratizing the access to reference data
From producers to consumers: democratizing the access to reference dataFrom producers to consumers: democratizing the access to reference data
From producers to consumers: democratizing the access to reference data
 
Location Intelligence for Everyone
Location Intelligence for EveryoneLocation Intelligence for Everyone
Location Intelligence for Everyone
 
Democratizando la publicación de datos geográficos
Democratizando la publicación de datos geográficosDemocratizando la publicación de datos geográficos
Democratizando la publicación de datos geográficos
 
CartoDB Inside Out
CartoDB Inside OutCartoDB Inside Out
CartoDB Inside Out
 
Open your data with CartoDB
Open your data with CartoDBOpen your data with CartoDB
Open your data with CartoDB
 
De Casa al Cole
De Casa al ColeDe Casa al Cole
De Casa al Cole
 
Perspectivas profesionales en geomática 2014
Perspectivas profesionales en geomática 2014Perspectivas profesionales en geomática 2014
Perspectivas profesionales en geomática 2014
 
SeaCare Application
SeaCare ApplicationSeaCare Application
SeaCare Application
 
Panorama SIG Libre 2014
Panorama SIG Libre 2014Panorama SIG Libre 2014
Panorama SIG Libre 2014
 
STIMULO: sistema de transporte logístico inteligente multimodal
STIMULO:  sistema de transporte logístico inteligente multimodalSTIMULO:  sistema de transporte logístico inteligente multimodal
STIMULO: sistema de transporte logístico inteligente multimodal
 
Cartografiando en filipinas para OSM
Cartografiando en filipinas para OSMCartografiando en filipinas para OSM
Cartografiando en filipinas para OSM
 
From CAD to DB
From CAD to DBFrom CAD to DB
From CAD to DB
 
gvSIG 2.0
gvSIG 2.0gvSIG 2.0
gvSIG 2.0
 

Dernier

Dernier (20)

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

A series of unfortunate maps, and how to fix them