Scatterplot Matrix
earowang opened this issue · 7 comments
earowang commented
https://vega.github.io/vega-lite/examples/interactive_splom.html
vega(cars) %>%
mark_point(enc(x = ac(c(x1, x2, x3)), y = ac(c(y1, y2, y3), vg_mean))) # or supports tidy select
The current implementation accepts one variable or a functional form of variable. It needs refactoring to support tidy select.
sa-lee commented
I think we will need this for parallel coordinates as well,
vega(penguins) %>%
mark_parcoords(enc(x = ac(beak_length_mm:body_mass_g), color = species))
sa-lee commented
One other idea for verbiage, would be splice
and to apply a transform splice_map
earowang commented
purrr::splice()
😓
sa-lee commented
I think this might need more of a rethink as it requires restructuring the spec quite a bit... :(
earowang commented
It could possibly follow the code structure as what we've done with facet
?
sa-lee commented
I'll look into it tomorrow :)
earowang commented
The way you implemented ac()
looks brilliant! 🤩