How To: Density Maps Using Hexbins in Tableau
After my previous post, I continued to work with some alternative methods in Tableau. I decided to look at using hexbins instead. This is a bit more complex than rounding the lat/long but not much. Let's see how it's done.
1. Create a parameter called Ratio. This will let you control the binning. The higher the ratio the more bins in the view.
2. Create the hexbins for Latitude and Longitude.
3. Drag Hexlong and Hexlat to Columns and Rows Respectively. Set your ratio to the binning level that you prefer. In this case I've used 2.5. Hide the headers as well.
4. Pull the worksheet into the dashboard and size appropriately. I used 1184 by 660 in this view.
That's all there is to it. Feel free to download the workbook and see how it is done or comment below for questions.