SlideShare a Scribd company logo
1 of 35
Download to read offline
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

More from nacis_slides

More from nacis_slides (20)

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

Recently uploaded

Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...
Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...
Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...
sriharipichandi
 
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
eeanqy
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
mark11275
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Nitya salvi
 
Simple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptxSimple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptx
balqisyamutia
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
ehyxf
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
instagramfab782445
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
wpkuukw
 
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
wpkuukw
 
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
eeanqy
 

Recently uploaded (20)

Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...
Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...
Anupama Kundoo Cost Effective detailed ppt with plans and elevations with det...
 
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
Simple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptxSimple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptx
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
 
Eye-Catching Web Design Crafting User Interfaces .docx
Eye-Catching Web Design Crafting User Interfaces .docxEye-Catching Web Design Crafting User Interfaces .docx
Eye-Catching Web Design Crafting User Interfaces .docx
 
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
 
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
 
Furniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptxFurniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptx
 
The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024The hottest UI and UX Design Trends 2024
The hottest UI and UX Design Trends 2024
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipRaebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
 
Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive Guide
 
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
 
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
 

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
  • 35. Questions? Sarah Battersby – sbattersby@tableau.com daan Strebe – dstrebe@tableau.com Michael Finn – mfinn@usgs.gov