Hexbins in Tableau allow you to group together neighboring data points on a 2 dimensional plane. In practice it’s similar to binning in Tableau but this time you’re factoring in 2 measures rather than just one. The value of doing this in visualization is that with data sets where you have many data points binning allows you to focus in on the density and critical mass allowing you to quickly generalize information.

In the video tutorial, I take you through how to create Hexbins in Tableau on a 2 dimensional plane and on a map. If you want to geek out, you might want to read the linked paper on hex-binning with maps produced by Tableau research and last but not least, hit the button below to suggest a topic for the next video.

[btx_video type=”external” video_url=”https://www.youtube.com/watch?v=RdIRxS55zQo”]

Tableau workbook & 32 image hexbin shape pack

Now you know how to create hexbins, you’re going to need a shape pack because Tableau currently doesn’t ship with a shape pack that sports hexagons. To that end, I spent some time creating a range of shapes that you can use for your hex-binning. The pack has 32 hexagons, 16 with a flat edge and 16 with a pointed edge in 4 different styles. Why so many? it’s easier to just show you the subtle differences. You can download them here

[btx_image image_id=”44805″ link=”http://j.mp/tableautim-hexbins” position=”center” on_click=”link”]Click to download image pack.[/btx_image]

[btx_image image_id=”44955″ link=”http://public.tableau.com/shared/MYGRMT2JN?:display_count=yes” position=”center” on_click=”link”][/btx_image]

 

Show CommentsClose Comments

7 Comments

  • mohana b
    Posted 9th September 2016 at 8:43 pm 0Likes

    Can I have the Airbnb Portland workbook ? It is really good and I would like to work on the same kind of stuff.

    Pelase let me know..

    • Tim Ngwena
      Posted 17th October 2016 at 11:51 pm 0Likes

      It’s available on Tableau public for download.

      • mohana b
        Posted 18th October 2016 at 2:53 pm 0Likes

        I checked everywhere. I only have the option to download the pdf and Image, not the Tableau workbook. Would you please give me the option to download tableau Workbook

        Thanks,
        Mohana

  • Alan Eldridge
    Posted 17th October 2016 at 4:14 am 0Likes

    Hi Tim – great post. However one issue with using shapes is they cannot be easily resized as you zoom in/out or change your density factor. I have made several blog posts on using polygons instead of shapes to overcome this issue – hope you find it interesting.

    https://blog.databender.net/?s=hex

    Cheers,
    Alan

    • Tim Ngwena
      Posted 17th October 2016 at 11:54 pm 0Likes

      Agree however shape files / an image pack is easier to deploy so I tend to prefer it as long as the images are optimised and lean as I’ve done with this set.

  • Trackback: Hex bins in Alteryx: Part 2 - The Data School

Leave a comment