Forum Discussion

NielsDecoene's avatar
NielsDecoene
Helper I
9 years ago
Solved

R issue how do i plot this.

Hey, I have the following table in my Power BI. I want to create an R Visual out of this. Throughput Label ThroughputAgegroup 611 Assess reimbursement 1-3 Maanden 1191 Assess reimburs...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Is ggplot going to be better for what you need - e.g.

     

    library(ggplot2) #Required for ggplot
    
    ggplot(dataset, aes(x=`ThroughputAgegroup`, y=`Label`)) +
      geom_point(size=10, alpha=0.1) +
      geom_text(aes(label=`Throughput`), size=3) 

    You'll still need to work with the formatting - e.g. in my quick test, I couldn't get the X axis on top.