HexBin plot

Regular Visitor
772 Views
Highlighted
Regular Visitor
Posts: 17
Registered: ‎12-17-2015

HexBin plot

[ Edited ]

HexBin.png

 

 

 

 

 

 

 

 

Description

This plot is for grouping scattered points into hexagonal boxes on a chart.  This is useful when l plotting many datapoints and your interested in finding a common pattern among all the x and y points.

 

Learn It

Want to see exactly how I built this visual?  Check out my Hexagonal Bin Tutorial on PowerBI.Tips which explains how to create this visual step by step.  Tutorial includes detailed explainations about the R script.  Enjoy!

 

Prerequisites (The sample .pbix files won't work without installing the following)

1. Install R Engine

Power BI does not include the R engine.  Therefore, a seperate installation is required to install R on your local computer.  You can download R from the Revolution Open download page, and through the CRAN Repository.

 

2. Install the R packages

Once R engine has been installed you can dowload the package from the Revolution Open Package Downloads Page

 

Required R Packages

ggplot2

hexbin

 

Tested on

MRO 3.3.1, CRAN 3.3.1

Mike
www.PowerBI.Tips
mike@PowerBI.Tips
Attachment
Attachment