by pavpanchekha on 6/14/22, 12:24 AM with 37 comments
by vavooom on 6/14/22, 6:51 PM
https://byrneslab.net/classes/biol607/readings/wickham_layer...
Wickham is the Chief Scientist at RStudio and created R packages such as ggplot2 and the tidyverse.
by lo5 on 6/14/22, 7:24 PM
Leland Wilkinson (GoG inventor) and I designed it together a couple of years back.
The function for creating marks (a layer) tries to be as "flat" as possible, in the sense that it should be possible to render most common kinds of plots without having to pass nested/hierarchical options: https://wave.h2o.ai/docs/api/ui#mark
by dhucerbin on 6/14/22, 9:46 PM
Grammar of graphics always was this North Star for me. It is very helpful to go through papers and books and search for inspiration how to organize your system. But direct implementations are finicky to work with. And in my hubris I attempted to write yet another one implementation of grammar of graphics and it resulted in exactly the same problems! With complex marks it is ambiguous what is a data point and what is a series. Tuning looks require this configuration objects scattered around chart definition and composition sometimes require to inject something in two different parts of definition.
Now I treat grammar of graphics as this collection of patterns and good practices. But surrender to pragmatic solutions when necessary.
Anyway I think I owe big part of my career to works of Wickham and Wilkinson.
by woevdbz on 6/14/22, 8:25 PM
by skybrian on 6/14/22, 8:01 PM
https://observablehq.com/collection/@skybrian/digital-signal...
by forrestthewoods on 6/15/22, 2:15 AM
That said, I’m weird. My blog is artisinally hand crafted HTML, JS, and CSS for the same reason.
by thedudeabides5 on 6/14/22, 10:00 PM
http://www.geo-informatie.nl/courses/grs60312/visualisation/...
by rpowers on 6/14/22, 11:20 PM
by tpoacher on 6/16/22, 1:01 PM
For me GoG is basically "use ggplot2 instead of base R plotting libraries when in R".
Which is fine and all, but graphing utilities of matlab/octave are far simpler/flexible.
ggplot2 to me seems like it feels it has to add a layer of complexity to achieve the "grammar" part, without a real practical benefit over matlab etc.
by jackallis on 6/14/22, 8:00 PM