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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors