If Power BI’s standard or custom visuals cannot satisfy your need to present the data in a certain way, or if you already have a data visualization script written in either R or Python at hand, then the R visualization and Python visualization are your friends. You need a local installation of R or Python, with all the packages you want to use, and you can then copy and paste your script into the Power BI visualization. And there we go with a new, powerful visualization in Power BI.
R and Python
Both languages ...