The Joy of Hex:
Challenges in creating
and interpreting spatial bins
Sarah Battersby | Daniel Strebe | Michael Finn
The big picture
Lots of data, not a lot of pattern
156,138,722 taxi pick up locations
Simplify - Aggregate
156,138,722 points
vs.
A few hundred bins
Easy to create
Nice, regular pattern
Tricky to make useful
Or…
Let’s dig into the challenges…
What to think about when you want to
think about how people think about spatial bins…
A first decision – bin shape
Option 1
Simple relationship side to area
Quick and easy for aggregation
But…
Strong and distracting horizontal /
vertical lines
Potential artefacts with linear
cultural features like roads
Subdivides nicely
Option 1
Minimizes edge effects & linear
patterns
More compact shape is ‘pleasing’
But…
More complex relationship of side to area
Spacing more irregular
A little more challenging to aggregate
points
Option 2
Also loses the nice subdivision
Option 2
But…
they are ‘edgier’ and people like them
(maybe too much)
Source: http://indiemaps.github.io/hexbin-js/tests/walmart.html
Short story on bin shape?
Whatever works for
you
your data
your workflow
your hipness quotient
Second big decision…
What do your readers need to do?
Value for individual location
General patterns
Comparisons across maps
Value for individual location / general patterns
Are your bins really the same size? Same shape?
Value for individual location / general patterns
Are your bins really the same size? Same shape?
On the plane?
What projection are you using?
Equal area projection
Value for individual location / general patterns
Are your bins really the same size? Same shape?
On the WEB MAP plane?
1. Regular bins in Web Mercator space
Value for individual location / general patterns
Are your bins really the same size? Same shape?
On the WEB MAP plane?
2. “Regular” bins in “spherical space”
Value for individual location / general patterns
Are your bins really the same size? Same shape?
On the WEB MAP plane?
2. “Regular” bins in “spherical space”
Value for individual location / general patterns
Are your bins really the same size? Same shape?
On the WEB MAP plane?
2. “Regular” bins in “spherical space”
Value for individual location / general patterns
Image source:
https://www.mapbox.com/blog/heat
maps-and-grids-with-turf/
Are your bins really the same size? Same shape?
On the WEB MAP plane?
2. “Regular” bins in “spherical space”
Value for individual location / general patterns
But can’t I just bin on the sphere and save
myself the headache?
On the sphere?
Can’t preserve both areas and angles
…and perfect tessellation is a pain
Hexagonal tiling with 12 pentagons
(the soccer ball problem)
A take home message
Be cautious with how your bins are created /
measured
Understand the parameters in the API
Even if they are just “graphics” and the
exact bin area doesn’t matter…
…it’s important to know how they were made
Comparison across maps
Multiple hexbin maps?
Be careful with the alignment / origin of your bins
Grid of bins – based on specified origin
Bins to compare – same spatial location
Comparison across maps
Multiple hexbin maps?
Be careful with the alignment / origin of your bins
Grid of bins – based on data extent
Bins to compare – different spatial location
Impossible to match aggregation
A take home message
Not all tools for generating spatial bins allow for control of origin /
placement
So, if you want to make valid comparisons of binned data be careful…
Which brings up a bigger problem…
Modifiable areal unit problem
Change in size, shape, placement, etc. may give a different spatial pattern
(MAUP video)
And an interesting question
What is it that people are going to interpret anyway?
When we encode spatial bins, do people see density or count?
Do they assume that it is just a graphical, planar density?
Or is it assumed to be spherical density?
Or do they expect it to be both count and correct generic density? Planar = Spherical
Map shows aggregation on plane:
Bins with same count
Bins with different count
A take home message
We need to understand what people really see in binned visualizations to
figure out how best to visualize it
My thought on naïve understanding is an assumption of both count and
density, so we have a big problem with projections…
One last point…
Irregular bins to preserve area
But we lose benefit of bin regularity
Computational (point in polygon)
Visual
…or “don’t do this if your
geographic area is larger than
{insert bounding box}”
But how do I know what that bounding box is??
What in the world was that mathematical scribble?
Calculating the ‘Safe Zone’ to bin in projected space,
and many other goodies can be found in…
“Shapes on a Plane:
Evaluating the impact of projection distortion on spatial binning”
Download from:
http://research.tableau.com
Questions?
Sarah Battersby – sbattersby@tableau.com
daan Strebe – dstrebe@tableau.com
Michael Finn – mfinn@usgs.gov

More Related Content

PPTX
20 Unrequested Map Tips
PPTX
PPT
Mapping Your Data 1
KEY
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
PPTX
GIS_Intro_March_2014
PDF
Visualising Multi Dimensional Data
PPTX
GNO Code: Geospatial Visualization in the Browser - An Overview
PPT
geodatabase_introooooooooooooooooooo.ppt
20 Unrequested Map Tips
Mapping Your Data 1
Mapping Flatland: Using MongoDB for an MMO Crossword Game (GDC Online 2011)
GIS_Intro_March_2014
Visualising Multi Dimensional Data
GNO Code: Geospatial Visualization in the Browser - An Overview
geodatabase_introooooooooooooooooooo.ppt

Similar to The Joy of Hex (20)

PDF
Important Topics
PPTX
RICS CPD Day London - Steven Eglinton - Geospatial BIM
PDF
Intermediate-ArcGIS-Desktop
PDF
Intermediate-ArcGIS-Desktop
PDF
VO Course 11: Spatial indexing
PPT
Where2.0Now - Finding the heat in Thematic Maps
PDF
Geo crash course
PDF
Esriuk_track2_geoenable_gis meets bim
PPTX
Map making for kids to help support #VisualizeNoMalaria
PDF
Chapter 2-beginning-spatial-with-sql-server-2008-pt-i
PDF
Creating Interactive Data Visualizations for the Web - YOW! Developer Confere...
PDF
Bi marabia10 en
PPT
Terminology and Basic Questions About GIS
PDF
Identifying and Visualizing Spatiotemporal Clusters on Map Tiles
DOCX
Sql server 2008 r2 spatial data whitepaper
PDF
#4 DataBeersBCN - "Visualizing Geolocated Tweets" by Joana Simoes
PDF
(eBook PDF) Introduction to Geographic Information Systems 8th
PDF
Hexagonify the World: The Theory and Applications of Uber H3
PDF
Power BI - Choose your map
Important Topics
RICS CPD Day London - Steven Eglinton - Geospatial BIM
Intermediate-ArcGIS-Desktop
Intermediate-ArcGIS-Desktop
VO Course 11: Spatial indexing
Where2.0Now - Finding the heat in Thematic Maps
Geo crash course
Esriuk_track2_geoenable_gis meets bim
Map making for kids to help support #VisualizeNoMalaria
Chapter 2-beginning-spatial-with-sql-server-2008-pt-i
Creating Interactive Data Visualizations for the Web - YOW! Developer Confere...
Bi marabia10 en
Terminology and Basic Questions About GIS
Identifying and Visualizing Spatiotemporal Clusters on Map Tiles
Sql server 2008 r2 spatial data whitepaper
#4 DataBeersBCN - "Visualizing Geolocated Tweets" by Joana Simoes
(eBook PDF) Introduction to Geographic Information Systems 8th
Hexagonify the World: The Theory and Applications of Uber H3
Power BI - Choose your map
Ad

More from nacis_slides (20)

PDF
Pretty maps without the price tag: Cartography with just QGIS
PPTX
Women Shaping the World: Women and Globes
PPTX
The First Geologic Maps of the U.S.
PDF
Geohistory-Géohistoire Canada: Developing a partnership for historical GIS an...
PDF
Historical Geocoding and the City
PDF
InDesign + ArcMap (Photoshop & Illustrator too)
PDF
The Rise and Fall of a Worldian Language: Amenity Icons from ISOTYPE to Open...
PDF
Nonprofit Mapping for Change
PPTX
Hashtag to Map: Transforming Zombie Data to Living Maps
PPTX
Mapping Demographic Change with Cartes et Données
PDF
Expressions of Place: an interdisciplinary and interactive community event se...
PDF
Expressions of Place: an interdisciplinary and interactive community event se...
PPTX
Who's on First: Adminstrative Boundaries and Localities
PPTX
Always have a plan: Developing a data acquisition policy at the University of...
PDF
Designing an atlas with a minimalist aesthetic
PDF
National Geographic Magazine, Yellowstone Special Issue Cartography
PDF
The complete solution from data to mobile device
PDF
Interactive Animated Projected Elk Map and Terrain Model
PDF
3D Printed Terrain Models and Maps -- Current State of Technology and Challenges
PDF
Enabling Users to Easily Filter TNM Datasets to Smaller Scales
Pretty maps without the price tag: Cartography with just QGIS
Women Shaping the World: Women and Globes
The First Geologic Maps of the U.S.
Geohistory-Géohistoire Canada: Developing a partnership for historical GIS an...
Historical Geocoding and the City
InDesign + ArcMap (Photoshop & Illustrator too)
The Rise and Fall of a Worldian Language: Amenity Icons from ISOTYPE to Open...
Nonprofit Mapping for Change
Hashtag to Map: Transforming Zombie Data to Living Maps
Mapping Demographic Change with Cartes et Données
Expressions of Place: an interdisciplinary and interactive community event se...
Expressions of Place: an interdisciplinary and interactive community event se...
Who's on First: Adminstrative Boundaries and Localities
Always have a plan: Developing a data acquisition policy at the University of...
Designing an atlas with a minimalist aesthetic
National Geographic Magazine, Yellowstone Special Issue Cartography
The complete solution from data to mobile device
Interactive Animated Projected Elk Map and Terrain Model
3D Printed Terrain Models and Maps -- Current State of Technology and Challenges
Enabling Users to Easily Filter TNM Datasets to Smaller Scales
Ad

Recently uploaded (20)

PPTX
Textile fibers are classified based on their origin, composition, and structu...
PPTX
immunotherapy.pptx in pregnancy outcome f
PPTX
F.Y.B.COM-A-ACC25359.pptx For a job or role? (e.g., Marketing Manager, Chief ...
PDF
APPLICATION OF MATRIX PROFILE TECHNIQUES TO DETECT INSIGHTFUL DISCORDS IN CLI...
PPTX
minorprojectjjslakalalwkendndbhdwklwlsxja.pptx
PPTX
G4Q2W1 PPT SCIENCE (MATATAG) @Sir Ims.pptx
PDF
Windows 11 Pro With Office 2024 Pro Crack Plus Download (Latest 2025)
PDF
Capture One Pro 16.6.5.17 for MacOS Crack Free Download New Version 2025
PDF
Design and Work Portfolio by Karishma Goradia
PPTX
19th March ggggghhhgggyhyffhhygg DCA.pptx
PPT
2 Development_Processes_and Organizations.ppt
PDF
Pfthuujhgdddtyygghjjiuyggghuiiiijggbbhhh
PDF
ARCHITECTURE LIENSURE EXAMINATION FLASHCARDS REVIEW
PPTX
LESSON-3-Introduction-to-Office-Suite.pptx
PPT
Sustainable cities- concepts and approaches
PDF
jyg7ur7rtb7ur57vr65r7t7b7i6t7r65rb57t76bt
PPT
1 Introduction Product Design and Development
PDF
This presentation is made for a design foundation class at Avantika Universit...
PPTX
Designing IAM solutions for TechCorptech
PDF
Interior_Design_and_Interior_Architectur.pdf
Textile fibers are classified based on their origin, composition, and structu...
immunotherapy.pptx in pregnancy outcome f
F.Y.B.COM-A-ACC25359.pptx For a job or role? (e.g., Marketing Manager, Chief ...
APPLICATION OF MATRIX PROFILE TECHNIQUES TO DETECT INSIGHTFUL DISCORDS IN CLI...
minorprojectjjslakalalwkendndbhdwklwlsxja.pptx
G4Q2W1 PPT SCIENCE (MATATAG) @Sir Ims.pptx
Windows 11 Pro With Office 2024 Pro Crack Plus Download (Latest 2025)
Capture One Pro 16.6.5.17 for MacOS Crack Free Download New Version 2025
Design and Work Portfolio by Karishma Goradia
19th March ggggghhhgggyhyffhhygg DCA.pptx
2 Development_Processes_and Organizations.ppt
Pfthuujhgdddtyygghjjiuyggghuiiiijggbbhhh
ARCHITECTURE LIENSURE EXAMINATION FLASHCARDS REVIEW
LESSON-3-Introduction-to-Office-Suite.pptx
Sustainable cities- concepts and approaches
jyg7ur7rtb7ur57vr65r7t7b7i6t7r65rb57t76bt
1 Introduction Product Design and Development
This presentation is made for a design foundation class at Avantika Universit...
Designing IAM solutions for TechCorptech
Interior_Design_and_Interior_Architectur.pdf

The Joy of Hex

  • 1. The Joy of Hex: Challenges in creating and interpreting spatial bins Sarah Battersby | Daniel Strebe | Michael Finn
  • 2. The big picture Lots of data, not a lot of pattern 156,138,722 taxi pick up locations
  • 3. Simplify - Aggregate 156,138,722 points vs. A few hundred bins Easy to create Nice, regular pattern Tricky to make useful
  • 5. Let’s dig into the challenges… What to think about when you want to think about how people think about spatial bins…
  • 6. A first decision – bin shape
  • 7. Option 1 Simple relationship side to area Quick and easy for aggregation But… Strong and distracting horizontal / vertical lines Potential artefacts with linear cultural features like roads
  • 9. Minimizes edge effects & linear patterns More compact shape is ‘pleasing’ But… More complex relationship of side to area Spacing more irregular A little more challenging to aggregate points Option 2
  • 10. Also loses the nice subdivision Option 2
  • 11. But… they are ‘edgier’ and people like them (maybe too much) Source: http://indiemaps.github.io/hexbin-js/tests/walmart.html
  • 12. Short story on bin shape? Whatever works for you your data your workflow your hipness quotient
  • 13. Second big decision… What do your readers need to do? Value for individual location General patterns Comparisons across maps
  • 14. Value for individual location / general patterns Are your bins really the same size? Same shape?
  • 15. Value for individual location / general patterns Are your bins really the same size? Same shape? On the plane? What projection are you using? Equal area projection
  • 16. Value for individual location / general patterns Are your bins really the same size? Same shape? On the WEB MAP plane? 1. Regular bins in Web Mercator space
  • 17. Value for individual location / general patterns Are your bins really the same size? Same shape? On the WEB MAP plane? 2. “Regular” bins in “spherical space”
  • 18. Value for individual location / general patterns Are your bins really the same size? Same shape? On the WEB MAP plane? 2. “Regular” bins in “spherical space”
  • 19. Value for individual location / general patterns Are your bins really the same size? Same shape? On the WEB MAP plane? 2. “Regular” bins in “spherical space”
  • 20. Value for individual location / general patterns Image source: https://www.mapbox.com/blog/heat maps-and-grids-with-turf/ Are your bins really the same size? Same shape? On the WEB MAP plane? 2. “Regular” bins in “spherical space”
  • 21. Value for individual location / general patterns But can’t I just bin on the sphere and save myself the headache? On the sphere? Can’t preserve both areas and angles …and perfect tessellation is a pain Hexagonal tiling with 12 pentagons (the soccer ball problem)
  • 22. A take home message Be cautious with how your bins are created / measured Understand the parameters in the API Even if they are just “graphics” and the exact bin area doesn’t matter… …it’s important to know how they were made
  • 23. Comparison across maps Multiple hexbin maps? Be careful with the alignment / origin of your bins Grid of bins – based on specified origin Bins to compare – same spatial location
  • 24. Comparison across maps Multiple hexbin maps? Be careful with the alignment / origin of your bins Grid of bins – based on data extent Bins to compare – different spatial location Impossible to match aggregation
  • 25. A take home message Not all tools for generating spatial bins allow for control of origin / placement So, if you want to make valid comparisons of binned data be careful…
  • 26. Which brings up a bigger problem… Modifiable areal unit problem Change in size, shape, placement, etc. may give a different spatial pattern
  • 28. And an interesting question What is it that people are going to interpret anyway? When we encode spatial bins, do people see density or count? Do they assume that it is just a graphical, planar density? Or is it assumed to be spherical density? Or do they expect it to be both count and correct generic density? Planar = Spherical
  • 29. Map shows aggregation on plane: Bins with same count
  • 31. A take home message We need to understand what people really see in binned visualizations to figure out how best to visualize it My thought on naïve understanding is an assumption of both count and density, so we have a big problem with projections…
  • 32. One last point… Irregular bins to preserve area But we lose benefit of bin regularity Computational (point in polygon) Visual …or “don’t do this if your geographic area is larger than {insert bounding box}”
  • 33. But how do I know what that bounding box is??
  • 34. What in the world was that mathematical scribble? Calculating the ‘Safe Zone’ to bin in projected space, and many other goodies can be found in… “Shapes on a Plane: Evaluating the impact of projection distortion on spatial binning” Download from: http://research.tableau.com