cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

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!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors