3/15/2023 0 Comments Hex map designer![]() For e.g., it is interesting to see that George W Bush won the election even though he got fewer popular votes than Al Gore in 2000. You can also see the number of electoral votes they won along with the popular vote %, which gives some pretty insights. In this report, you can select any year from 1916 and see the winning party of each states (I only included the data for Republican and Democratic parties), as well as the nominees of the election. Now as a reward for making it till here, I thought of letting you play with this simple report that I created using this hex map. Feel free to experiment by adding measure values to the Saturation or State values. Then browse to the SVG file we just downloaded from Synoptic Designer and you should have your basic version of the hex tile map ready. Once you have done that, click on the Synoptic Panel to add it to Power BI, and add the state code (which is the filed we are going to bind our dataset with the map) and a measure (like Total Votes) to it. I have submitted my map to the gallery and hopefully it will be approved by the SQLBI team (who created and still supports this wonderful tool).ĥ) Now open Power BI, and download the Synoptic Panel from here (if you don’t already have it) and import to Power BI. I would also request that if you make some interesting maps / shapes, please consider submitting it to the gallery so that other community members can also reuse it. Make sure that you map the areas to the appropriate state name / code also.Ĥ) After this, your map is ready and you can just export it to Power BI, which would save the map data as a SVG file in your computer. To avoid this, I just wrote a bunch of formulas which would calculate the vertices in plain old excel and then just copied the 6 pairs for each of the 51 states manually. If you notice carefully, you can see that more than 6 vertices are being plotted by the designer automatically (check out the multiple vertices in the section I highlighted). In my case, I decided to take a step further as I was planning to share the file for the community. Now, for most people, this should be more than enough and the results come out really good. ![]() Now you can just click on the hexagons and the synoptic designer automatically discovers the areas for you, which is super cool. Or you can even make one easily in PowerPoint or any other image processing software (as it is just a collection of hexagons) based on the image that you get from the internet and save it as an image.Ģ) Go to and upload the image to the synoptic designer by dragging and dropping the image to the designer.ģ) Ensure that the second icon on the bottom left is enabled (which helps us to automatically discover new areas). Now you can follow the steps below to reproduce a hex tile grid map in Power BI (and don’t forget to check out the Power BI report that I made with this technique at the bottom of my post):-ġ) Choose a version of the hex tile grid map that you like from the internet. Because of this reason, you will find more than one version of hex grid maps and it is perfectly ok to choose the one that suits your need more appropriately. However, it comes with it’s own set of problems like balancing between depicting unique geographical features (like Texas and Florida being the southern most part of the country) versus depicting bordering states accurately. ![]() A hex tile map solves this issue by giving each state equal weight. For e.g., in a regular choropleth map of the US, DC is hardly visible along with some other North-Eastern states. Regular choropleth map is a tried and tested visualization for area maps but it carries the risk of under-representing some areas. So it was kind of natural that when I saw a couple of hex grid maps floating around my twitter feed a couple of months ago, I thought of reproducing it in Power BI as I knew it could be done.įirst of all, let us start with an introduction of hex maps and why they could be useful. Even though maps don’t intrigue me to that level anymore, I still follow them as part of my job and have written quite a number of blogs on getting spatial information in the Microsoft stack, starting from SSRS 2008 R2. I was so hooked on to it that my parents even considered removing it from my room fearing that it could hamper my social development (and this was in spite of my parents being extremely proud that I could tell most of the countries and their capitals around that time!). I have always been fascinated by maps as a child, and could spend endless hours looking at the globe my parents got me as a present for my 5 th birthday.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |