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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
iDataDrew
Advocate IV
Advocate IV

R package to create scatter plots in quadrants?

I'm looking to develop the below visual, or something similar to it.  This is definitely something that can't be done with the default visuals in PBI.  First, I'm wondering if anyone might have any ideas where the default visuals could be utilized to communicate the same information, but in a simpler way.  Second, I'm wondering which R packages out there might have visual capabilities like this?

 

Quadrants_Scatter_Plott.PNG

2 REPLIES 2
Anonymous
Not applicable

ggplot can do the (4 x) scatterplots.  But rotating the axes may be a problem for a while as it seems to need (the new) ggplot2 2.2.0 (see https://cran.r-project.org/web/packages/cowplot/vignettes/axis_position.html) and Power BI only uses 2.1.0.

 

And adding background images to plots seems a black art that works for me in R Studio, but not in PBI Desktop.  Good luck.

BhaveshPatel
Community Champion
Community Champion

Well it seems complicated to create such visuals but you can use ggplot2. It will not let you down if you know how to write the correct R code.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.