Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jayanthan
Helper III
Helper III

Mapbox Visual

Hi there

 

anyone has a sample for power bi mapbox choropleth , i would lilke to create a map using topojson file. Please advise

 

Json file link is given below

http://localboundries.oknp.org/css/province.topojson

 

 

 

Regards

Jayanthan

2 ACCEPTED SOLUTIONS
v-shex-msft
Community Support
Community Support

HI @jayanthan,

 

I'd like to suggest you take a look at official document on mapbox home page:

Make a choropleth map with the Mapbox Visual for Power BI

 

In addition, you can also take a look at custom map of shape map:

Create Your Own Custom Map for Power BI

Shape Maps in Power BI Desktop (Preview)

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

tonmcg
Resolver II
Resolver II

Jayanthan - Creating your own custom map using Mapbox and Power BI is a multistep process. The most important part you need to remember is that Mapbox does not currently support topojson files, only geojson files. Luckily, it's very easy to convert topojson to geojson.

 

Here are the steps you need to take:

1. Import the latest Mapbox Visual in Power BI (if you haven't done so already)

2. Download a local copy of the topojson file

3. Upload the topojson file to mapshaper.org

4. Use mapshaper to convert the topojson to geojson

5. Export a local copy of the new geojson file (when saving, make sure the file type is ".geojson" and not ".json")

6. Follow the steps on the Mapbox blog, starting with "Upload your tileset to Mapbox"

 

I created a short video below to show how to convert your Nepal topojson to geojson, upload it to Mapbox Studio, and use it as a layer in the Mapbox Visual in Power BI. Note: I'm using Nepalese data that shows population by province.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Here's another good resource for all things geographic map related at Power BI. This bloke James Dales has some great explanation on animating time series data 

tonmcg
Resolver II
Resolver II

Jayanthan - Creating your own custom map using Mapbox and Power BI is a multistep process. The most important part you need to remember is that Mapbox does not currently support topojson files, only geojson files. Luckily, it's very easy to convert topojson to geojson.

 

Here are the steps you need to take:

1. Import the latest Mapbox Visual in Power BI (if you haven't done so already)

2. Download a local copy of the topojson file

3. Upload the topojson file to mapshaper.org

4. Use mapshaper to convert the topojson to geojson

5. Export a local copy of the new geojson file (when saving, make sure the file type is ".geojson" and not ".json")

6. Follow the steps on the Mapbox blog, starting with "Upload your tileset to Mapbox"

 

I created a short video below to show how to convert your Nepal topojson to geojson, upload it to Mapbox Studio, and use it as a layer in the Mapbox Visual in Power BI. Note: I'm using Nepalese data that shows population by province.

Anonymous
Not applicable

@tonmcg 

Thank you for the great tutorial!!! really helpful

Hi tonmcg

 

It works, perfect, thank you so much for the support

 

Cheers

 

Jayanthan

v-shex-msft
Community Support
Community Support

HI @jayanthan,

 

I'd like to suggest you take a look at official document on mapbox home page:

Make a choropleth map with the Mapbox Visual for Power BI

 

In addition, you can also take a look at custom map of shape map:

Create Your Own Custom Map for Power BI

Shape Maps in Power BI Desktop (Preview)

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi Xiaoxin Sheng

 

Thank you for the support

 

Regards

Jayanthan

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.