Forum Discussion
Shape Map Visualization - working with Body Chart
- 6 months ago
Hi jerryr125,
Thanks for the follow-up question.Microsoft documentation confirms that Power BI Shape Maps only support custom TopoJSON files containing polygon or multipolygon geometry. https://learn.microsoft.com/en-gb/power-bi/visuals/power-bi-map-visualizations-overview
Adobe Illustrator can only export SVG files and cannot convert them to GeoJSON/TopoJSON. For Power BI Shape Maps, the SVG must be converted using a GIS tool that outputs Polygon or MultiPolygon geometry. A commonly used and reliable option is Mapshaper which is already suggested by the community member JamieHolding, which allows you to upload the SVG, visually confirm closed and filled shapes, and export directly to GeoJSON (and TopoJSON if needed).
After conversion, please ensure the GeoJSON contains only Polygon/MultiPolygon types and that region names exactly match your Power BI data (case-sensitive). Once validated, the file should render correctly in the Shape Map visual.
Thanks again for using the Microsoft Fabric Community Forum.
Hi jerryr125,
Thanks for the follow-up question.
Microsoft documentation confirms that Power BI Shape Maps only support custom TopoJSON files containing polygon or multipolygon geometry. https://learn.microsoft.com/en-gb/power-bi/visuals/power-bi-map-visualizations-overview
Adobe Illustrator can only export SVG files and cannot convert them to GeoJSON/TopoJSON. For Power BI Shape Maps, the SVG must be converted using a GIS tool that outputs Polygon or MultiPolygon geometry. A commonly used and reliable option is Mapshaper which is already suggested by the community member JamieHolding, which allows you to upload the SVG, visually confirm closed and filled shapes, and export directly to GeoJSON (and TopoJSON if needed).
After conversion, please ensure the GeoJSON contains only Polygon/MultiPolygon types and that region names exactly match your Power BI data (case-sensitive). Once validated, the file should render correctly in the Shape Map visual.
Thanks again for using the Microsoft Fabric Community Forum.
Hi jerryr125,
Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.
Thank you.
- v-kpoloju-msft5 months agoCommunity Support
Hi jerryr125,
Just wanted to follow up. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.Thank you.