Implementing a circular barplot in Power BI
As you have already seen in the previous chapters, Power BI is able to render graphs developed with ggplot2
using R visuals. So, no matter how complex the graph you created with ggplot2
is, you can be sure that Power BI will handle it well.
To create a circular barplot in Power BI, follow these steps:
- Make sure that Power BI Desktop is pointing to the version of CRAN R that is dedicated to R visuals in Options.
- Click on Get data, and then click Text/CSV.
- Select the
Scores.csv
file located in theChapter 21
folder and click Open. - You will see a preview of the CSV file. Be sure to select
65001: Unicode (UTF-8)
for File Origin. This will ensure that special characters in speaker names are displayed correctly. Then, click on Load. - Click on the R Visual icon in the Visualizations panel, enable it, and then resize the visual to fit the entire available canvas.
- With the R visual selected, expand the...