"Stripplot" using dodge? #1074
-
Hi, I have some past experience with Altair (Vega-Lite) where I have occasionally used stripplot (see screenshot below). Looking at the documentation I found dodge, which looks very nice. So I was trying to be able to use a continuous value for the I got this working using facets, but I thought that there might be a better way to do this. I tried using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think facet is your only option here; that’s the only way to group the points before dodging. The dodge transform doesn’t (currently) provide an auxiliary way to group data. Here’s my take: https://observablehq.com/@observablehq/stripplot Also, this helped me find a bug #1075. Thanks for sharing your question! |
Beta Was this translation helpful? Give feedback.
I think facet is your only option here; that’s the only way to group the points before dodging. The dodge transform doesn’t (currently) provide an auxiliary way to group data. Here’s my take:
https://observablehq.com/@observablehq/stripplot
Also, this helped me find a bug #1075. Thanks for sharing your question!