How to Create a Skyscraper Map in Power BI using Azure Maps: a Guide to Bar Chart Mapping

Skyscraper Map in Power BI, aka. bar chart map, or bar chart on a map
Skyscraper Map in Power BI, aka. bar chart map, or bar chart on a map

Have You Ever Seen a Bar Chart on a Map?

Welcome to the fascinating world of data visualization, where even maps can take the form of bar charts! I prefer to call this visualization a Skyscraper Map because you can picture these bars on a map as skyscrapers. Also known as a Bar Chart Map, this type of visualization brings your geodata to life, giving it the appearance of skyscrapers dotting a cityscape.

Why Use a Skyscraper Map?

You can use a skyscraper map to display geodata along with its corresponding values. This innovative visualization combines a map indicating various locations (be it a city, a country, or any geographical place) with a bar chart. Like a traditional bar chart, the height or volume of each bar in a skyscraper map is proportionate to the values it signifies.

Crafting a Skyscraper Map with Azure Maps in Power BI

First, you need to make sure that the Azure Maps preview feature is enabled in Power BI to create a skyscraper map. Here’s a step-by-step guide using the Retail Analysis Sample dataset:

Step 1. Click on the Azure Map icon in the Visualization pane.

Step 2. Drag the lower right corner to extend the filled map visual.

Step 3. From the Fields Plane, select PostalCode.

Power BI assigned Country to the Location field.
Power BI assigned Country to the Location field.

Step 4. Now, choose TotalSales from the Fields Plane.

Power BI assigned Sales to the Bubble size field.
Power BI assigned Sales to the Bubble size field.

Step 5. Head over to the Format your Visual section.

Step 6. Toggle off the Bubble layer switch.

Step 7. Enable the Bar chart layer switch.

Power BI with enabled Bar chart layer switch.
Power BI with enabled Bar chart layer switch.

Step 8. Expand the Bar chart layer pane.

Step 9. Expand the Size pane.

Step 10. Under the Size pane, set the Height to 4 px.

Step 11. Under the Size pane, set the Width to 3 px.

Power BI showing a skyscraper map.
Power BI showing a skyscraper map.

With these steps, you’ve created a skyscraper map showing sales by zip codes in your dataset. Want to try it out? Download the PBIX file here.

Teach Yourself VISUALLY Power BI book cover

If you’re keen on diving deeper into Power BI, don’t miss my book, Teach Yourself VISUALLY Power BI (Amazon), filled with more insightful tutorials like this one. Got any feedback, ideas, or questions about creating bar chart maps in Power BI? I’d love to hear from you:

„How to Create a Skyscraper Map in Power BI using Azure Maps: a Guide to Bar Chart Mapping“ weiterlesen

Mastering Power BI: A Step-by-step Guide to Enabling Power BI’s Preview Features Including Azure Maps

Power of Power BI's Preview Features: Power BI Desktop running on Windows 11
Power of Power BI’s Preview Features: Power BI Desktop running on Windows 11

Explore the Power of Power BI’s Preview Features

Microsoft’s Power BI is known for its data visualization capabilities, but many exciting features are not enabled by default. These under-the-radar features are known as Power BI Preview Features, and they often have the potential to significantly enhance your data analysis efforts. Some of these exciting features include Azure Maps, which is essential for creating impactful Skyscraper Maps with Power BI.

Follow this Step-by-step Guide

To leverage the power of these Preview Features, you need to enable them in your Power BI interface. Here is a quick guide to help you activate Azure Maps and other Preview Features:

Step 1: Navigate to the File tab on Power BI’s menu bar. Note: There is no need to have a data connection, the opening modal can be closed.

File tab on Power BI's menu bar.
File tab on Power BI’s menu bar.

Step 2: Choose Options and Settings from the dropdown menu.

Step 3: From the subsequent options, click on Options.

Power BI's Options and Settings menu.
Power BI’s Options and Settings menu.

Step 4: In the new dialogue box, select Preview Features from the list on the left-hand side.

Power BI's Options dialogue box.
Power BI’s Options dialogue box.

Step 5: Check the box next to Azure Map Visual to enable it.

Step 6: Confirm your changes by clicking the OK button.

Power BI's Preview Features section.
Power BI’s Preview Features section.

If you change the Preview feature settings, Power BI may require you to restart the application to implement the changes. Once done, you are ready to start creating your Skyscraper Map using the Azure Maps feature!

Current Power BI Preview Features

Power BI’s Preview Features evolve over time, with new features continuously being tested and added. As of now, the current preview features you can enable in Power BI include:

  • Shape Map Visual
  • Spanish Language Support for Q&A
  • Q&A for Live Connected Analysis Services Databases
  • Azure Map Visual
  • DirectQuery for PBI Datasets and AS
  • Modern Visual Tooltips
  • Power BI Desktop Infrastructure Update
  • Web Page Connector Infrastructure
  • Modify Visuals Settings for Mobile Layout
  • Sparklines
  • Scorecard Visual
  • Field Parameters
Teach Yourself VISUALLY Power BI book cover

For more such enlightening tutorials, check out my latest book, Teach Yourself VISUALLY Power BI (Amazon)!

The world of Power BI is a treasure trove of powerful capabilities waiting to be explored. Share your experiences, creative applications, and insights as you navigate this exciting realm:

„Mastering Power BI: A Step-by-step Guide to Enabling Power BI’s Preview Features Including Azure Maps“ weiterlesen

Visual Tracert: How to use GeoTraceroute to analyze, visualize and embed internet traffic routes

Visual traceroute from Frankfurt to Ukraine shows redirection via Russia
Visual traceroute (aka. tracert) from Frankfurt to Ukraine shows redirection via Russia

Earlier today I read the news from NetBlocks (via Reuters) that since the weekend parts of the Ukrainian internet traffic are rerouted via Russia. To be precise, it’s about Ukrainian Kherson Oblast, which is occupied by Russia since March.

Now I wanted to trace the internet route myself and ideally visualize it. Here I came across the service of GeoTraceroute, which does a great job in visualizing traceroutes (aka. tracert). For the trace, I chose Frankfurt as starting point, and skynet.ua, the local internet provider in Kherson, as the endpoint.

Of course, you can also include the URL of GeoTraceroute as a web element in your Power BI report or Tableau dashboard and parameterize it for dynamic interactions. You can see the format as in my example:

https://geotraceroute.com/?node=2021&host=skynet.ua

Our Research featured in Der Spiegel: An Overview of Russia’s Cyberattack Activity in Ukraine

Der Spiegel features Microsoft AI for Good Research Lab Ukraine report
Der Spiegel features Microsoft AI for Good Research Lab Ukraine report

Our research was picked up by German news magazine Der Spiegel, one of the largest investigative journals in Europe. We analyzed incredibly large amounts of data to gain insights into Russia’s cyberattacks in Ukraine.

Read the Spiegel article, which in turn has a link to our report: Microsoft zählt bisher 237 Hackerangriffe auf die Ukraine

And here’s a direct link to the underlying report, which was produced by Microsoft’s Digital Security Unit and is based on insights from the Microsoft Threat Intelligence Center and data analysis from our Microsoft AI for Good Research Lab: Special Report: Ukraine – An overview of Russia’s cyberattack activity in Ukraine

How to use a custom Mapbox map as your background map in Tableau

Mapbox map in Tableau
Mapbox map in Tableau

Tableau now comes with more geographical data built in, including updated US congressional districts (CD), local name synonyms for world capitals, Japanese postal, and Mapbox integration. I’ve to admit I really love Mapbox!

What is Mapbox? Mapbox is an online repository of custom-built maps for your needs and enables you to create the perfect map to integrate into your Tableau visualization. Mapbox maps are highly customizable – you can design your own map, build applications, extend applications, use satellite imagery and create static maps. You can even have Pirate Maps!

Mapbox tutorial:

  1. So first off you’ll have to register with mapbox.com
  2. Once you are logged in go to Account > API access tokens > copy and paste your token. You’ll need this for Tableau.
  3. Open up Tableau > connect to your data source that has geographical locations. For this case, we will use the sample sales data set that is preloaded in Tableau.
  4. Map > Background Maps > Map Service to open a popup box.
  5. Add > Mapbox Services > Classic
  6. Fill in a style name for this map > Paste in the access token you previously copied
  7. Drop the selection box down and it will provide a list of classic maps already for your use. For this case, we are going to use Emerald.
  8. Take your city dimension from the data set > double click or drag and drop to populate a map. See below the before and after without Mapbox and with.

If you create multiple Mapbox maps and want to populate different styles on different worksheets, you can:

  1. Maps > Background Maps > Emerald. Here you have a list of maps that you have created.

So here you have a basic understanding of using Mapbox in Tableau.

Happy mapping, literally go explore! And join me on Twitter: