The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Solved! Go to Solution.
Hi @C_Lee,
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
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @C_Lee,
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
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thank you for responding, it was doing my head in....
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
79 | |
72 | |
48 | |
41 |
User | Count |
---|---|
138 | |
108 | |
69 | |
64 | |
57 |