Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Violin chart in D3

Any ideas on where to even begin with making a violin chart using d3? Does it exist already?

I've looked around and have figured out how to do it using ggplot2 and was hoping there'd be a ready-made example that I could learn from but haven't found one yet.

I suppose I could do a really painful process of making various size bars on top of each other, or taking a distribution, rotating it and mirroring it. But surely there's a better way.

like image 351
ScottieB Avatar asked Jan 16 '23 00:01

ScottieB


1 Answers

I needed that for myself so here it is: violin plot

like image 93
zmk Avatar answered Jan 21 '23 05:01

zmk