SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
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

Más contenido relacionado

Más de Jorge Sanz

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 pijamaJorge Sanz
 
Location Intellligence para administraciones públicas
Location Intellligence para administraciones públicasLocation Intellligence para administraciones públicas
Location Intellligence para administraciones públicasJorge Sanz
 
Más aplicaciones y menos geoportales
Más aplicaciones y menos geoportalesMás aplicaciones y menos geoportales
Más aplicaciones y menos geoportalesJorge Sanz
 
Location Intelligence & Data Visualization
Location Intelligence & Data VisualizationLocation Intelligence & Data Visualization
Location Intelligence & Data VisualizationJorge Sanz
 
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 analysisJorge Sanz
 
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 dataJorge Sanz
 
Location Intelligence for Everyone
Location Intelligence for EveryoneLocation Intelligence for Everyone
Location Intelligence for EveryoneJorge Sanz
 
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áficosJorge Sanz
 
CartoDB Inside Out
CartoDB Inside OutCartoDB Inside Out
CartoDB Inside OutJorge Sanz
 
Open your data with CartoDB
Open your data with CartoDBOpen your data with CartoDB
Open your data with CartoDBJorge Sanz
 
De Casa al Cole
De Casa al ColeDe Casa al Cole
De Casa al ColeJorge Sanz
 
Perspectivas profesionales en geomática 2014
Perspectivas profesionales en geomática 2014Perspectivas profesionales en geomática 2014
Perspectivas profesionales en geomática 2014Jorge Sanz
 
SeaCare Application
SeaCare ApplicationSeaCare Application
SeaCare ApplicationJorge Sanz
 
Panorama SIG Libre 2014
Panorama SIG Libre 2014Panorama SIG Libre 2014
Panorama SIG Libre 2014Jorge Sanz
 
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 multimodalJorge Sanz
 
Cartografiando en filipinas para OSM
Cartografiando en filipinas para OSMCartografiando en filipinas para OSM
Cartografiando en filipinas para OSMJorge Sanz
 
From CAD to DB
From CAD to DBFrom CAD to DB
From CAD to DBJorge Sanz
 

Más 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
 

Último

The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 

Último (20)

The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 

A series of unfortunate maps, and how to fix them