TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial…

Follow publication

Member-only story

Generate Hex Maps from your existing Spatial Data in less than 3 steps

Charmaine Chui
TDS Archive
Published in
3 min readOct 24, 2020

--

Having come across many articles, I do notice many individuals seek to generate hex maps for their current spatial datasets either for the sake of aesthetics (E.g. Dashboard visualisations) or to minimise spatial distortion from overlapping geometry features. Well, I have got good news for these individuals as I have recently discovered that the combined use of 2 JavaScript libraries — enables users to render the required output instantly, eliminating the hassle of adding any extra calculated fields in Tableau. This new functionality has been deployed onto my web app at https://tableau-data-utility.onrender.com/ for the convenience of users and for future usage. So, here’s a quick preview of the data transformation and resulting visualisations:

Image by Author | (Left) Polygon map of US States | (Right) Hex map of US States

The above image does not involve any calculations in Tableau. The approach to this is simply pre-processing your GeoJSON formatted file into another GeoJSON file which renders hexagons instead of polygons.

Simply navigate to https://tableau-data-utility.onrender.com/ and input your spatial data into the web app:

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Charmaine Chui
Charmaine Chui

Written by Charmaine Chui

👩‍💻 Data Analyst. Web & Software Developer. Technical Writer✍ | Trying to make the 🌐 better with baby steps👣 [ 📍SG ] LinkedIn@https://tinyurl.com/5h6cufyy

No responses yet

Write a response