For newer versions of PowerBI, it's also possible to produce Plotly charts using R and ggplot as custom PowerBI visualizations. With the approach described below, you can produce a density plot from a PowerBI table like this:
My suggested solution uses nodejs that can be found here. That, as well as the main parts of my suggestion, builds on this excellent blog post that only has a few shortcomings when it comes to the details about using and updating custom PowerBI Visualizations. I could just refer to that link and point out the things I did differently, but for the sake of clarity and completeness, I've done the whole thing from scratch.
Ready to revolutionize your data skills? Explore our dynamic Power BI Course Syllabus designed to empower you with in-depth knowledge and practical expertise.