Skip to main content

Violin Plot

Daniel Marsh-Patrick

Use to visualise the distribution of your data.

A violin plot is a visual that combines a box plot and a kernel density plot.

A box plot lets you see basic distribution information about your data, such as median, mean, range and quartiles but doesn't show you how your data looks throughout its range. If you have a multimodal distribution (multiple peaks) or some confusion as to where things are clustered then it's not easy to figure this out.

A kernel density plot helps with this challenge by showing the variations in your data across its distribution. It works like a histogram, but uses kernel smoothing to provide a smoother curve where noise might otherwise be present.

Features include:

  • Split and color by categories
  • 4 different kernels
  • Sampling resolution
  • Estimated/manual KDE bandwidth
  • Customizable box plot

Please refer to the example .pbix file, or the wiki at https://bitbucket.org/dm-p/power-bi-visuals-violin-plot for more details.

What's new in 1.1.0:

--------------------

  • Added barcode plot as an alternative to box plot
  • KDE bandwidth can be applied by category, rather than uniformly
  • Minor bug fixes

More detailed release notes can be viewed at https://bitbucket.org/dm-p/power-bi-visuals-violin-plot/wiki/Release%20Notes%20and%20Known%20Issues under the 1.1.0.2 heading.

Add-in capabilities
When this add-in is used, it
  • Can read and make changes to your document
  • Can send data over the Internet
  • https://az158878.vo.msecnd.net/marketing/Partner_21474848265/Product_42949682755/Asset_9e943a51-4d24-4307-95da-036f7dd31250/screenshot001.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474848265/Product_42949682755/Asset_9e943a51-4d24-4307-95da-036f7dd31250/screenshot001.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474848265/Product_42949682755/Asset_71073468-1189-49de-a669-e13e92956903/screenshot002.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474848265/Product_42949682755/Asset_67f7057f-5f43-4610-b60f-90489661aa22/screenshot003.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474848265/Product_42949682755/Asset_8bb4c67e-37f5-4224-98d5-becd95709b80/screenshot004.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474848265/Product_42949682755/Asset_6e5c28d1-e50d-490d-8031-7c5f74c8d733/screenshot005.png