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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Deneb Vega Lite Map not displaying

Hi,

I am using the deneb visualisation and I am trying to create a map of Australia, there aren't any errors coming up with the below json code but my map is not displaying. Does anyone know what I am doing wrong?

 

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "width": 500,
  "height": 300,
  "layer": [
    {
      "data": {
        "url": "https://raw.githubusercontent.com/alwaysblazing/Australia-State-TopoJson-MapChart/master/au-states-topo.json",
        "format": {
          "type": "topojson"
          }
      },
      "projection": {
        "type": "mercator"
      },
      "mark": {
        "type": "geoshape",
        "fill": "lightgray",
        "stroke": "white"
      }
    },
    {
      "data": {
        "url": "Electorate"
      },
      "projection": {
        "type": "mercator"
      },
      "mark": "circle",
      "encoding": {
        "longitude": {
          "field": "Long",
          "type": "quantitative"
        },
        "latitude": {
          "field": "Lat",
          "type": "quantitative"
        },
        "size": {"value": 10},
        "color": {"value": "steelblue"}
      }
    }
  ]

 

This is the data I am using Australian Post Codes - Matthew Proctor

 

Any help would be appreciated.

 

Cheers,

 

Chris

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @Anonymous,

I answered this on your stackoverflow post, but for completeness (in case anyone is searching here too), if you're using the certified version of Deneb from AppSource, this is not permitted to access external URLs.

There is a standalone version of Deneb, which can be downloaded separately and has the loader enabled.

Note that custom visuals are heavily sandboxed by Power BI (even uncertified ones) and loading data can only work from endpoints that allow access from an iframe with no origin. There's a little more about this concept here.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

3 REPLIES 3
dm-p
Super User
Super User

Hi @Anonymous,

I answered this on your stackoverflow post, but for completeness (in case anyone is searching here too), if you're using the certified version of Deneb from AppSource, this is not permitted to access external URLs.

There is a standalone version of Deneb, which can be downloaded separately and has the loader enabled.

Note that custom visuals are heavily sandboxed by Power BI (even uncertified ones) and loading data can only work from endpoints that allow access from an iframe with no origin. There's a little more about this concept here.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




It is possibe to do by giving the topo json as a datasetPowerBIMapexample.JPG

Anonymous
Not applicable

Thank you for responding, it was doing my head in....

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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