cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
swaroopkumarmg
Helper II
Helper II

HTML file to a visual

Hello there,

i have a sunburst chart created using Plotly - Python, i have no knowledge of R. 

i was able to create an HTML file of this sunburst chart from python and save it on my local system. 

 

I was wondering if I could display the chart in the HTML file as a Power BI Visual. 

6 REPLIES 6
ray_ux
Memorable Member
Memorable Member

@swaroopkumarmg make sure the  dataset is unsummarised. 

test123123123123.gif



Thank you for the reply.

 

When i try this visual with the similar data format you have it's working. but the data that I have looks something like this:

swaroopkumarmg_0-1661136098114.png

this is just an example, the actual data is larger than this and it will be difficult to put that in the format you have. 

Also note that Python visuals in Power BI are not animated. They only render the final surface state.

lbendlin
Super User
Super User

What's the point of this exercise? What would be the value-add of Power BI for this scenario?

ray_ux
Memorable Member
Memorable Member

@swaroopkumarmg  Why not use Plotly custom visual it's much easier and able to run on a power bi online service. 
Generally, python,D3 has limited libraries supported via power bi, and even if it works on desktop, the chance of running on power bi online service is unlikely. You would be better off using the plotly custom visual as it's quite powerful - it's a replicate of the plotly studio.

Untitled.png

 

https://appsource.microsoft.com/en-us/product/power-bi-visuals/akvelon.plotlyjsvisualbyakvelon?tab=O...

 

 

Yes i tried it, it works with Scatter, bar, line.. almost everything. but specifically need sunburst and it's not plotting anything. 

data I have is Category, subcategory, subsubcategory, productID and sales quantity. 

swaroopkumarmg_0-1660908834818.png

 

let me know if im doing anything wrong

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors