Friday, December 4, 2020

Published December 04, 2020 by with 0 comment

Split Violin Plots in plotly.js

Split violins are a cool way to compare distributions, and plotly makes them simple.
There isn't much to explain here. I've embedded an example below showing how to use it. You just make a normal violin plot, but specify one trace as the negative side and another as the positive side, and plotly handles the rest.



If you've ever wanted to plot multiple distributions side-by-side, this is an easy option.
      edit

0 comments:

Post a Comment