A layered grammar of graphics (2010)
vita.had.co.nz
vita.had.co.nz
As a python user, I use the plotnine[1] implementation religiously.
I too prefer the code examples I’ve seen of theirs to any other Python framework
Could someone familiar with more than one of these compare Wilkinson's work with Wickham's and with Vega/Vega Lite?
Vega being JSON has good and bad parts. It's good as it gives Python ecosystem something better (Altair) than matplotlib.
Bad part is that its agnostic design makes it tricky to do the math in Vega since it cannot depend on the host language (Python for Altair). It has to develop its own DSL (implemented in JS) to fill this gap. Sometimes it's very cumbersome and limiting.
IMO, having stat capability in the middle of the visualization pipeline is one of the breakthrough invention of Wilkinson's original work (GG). Wickham/ggplot2 took it seriously and built the DSL in R. But Vega didn't (relatively speaking). That design decision was probably inevitable, but it still makes Vega less powerful than ggplot2, in terms of the expressiveness.
Besides these philosophical difference, ggplot2 is very mature and robust, while Vega/Altair still has rough edges and fails on complex charting attempts from time to time.
(Don't know why you're down-voted.)
For anyone interested, check out this notebook that shows some example plots presented in Seaborn's main interface and equivalent expression in the new objects interface: https://mybinder.org/v2/gh/minireference/noBSstatsnotebooks/...
I wasn't able to do an equivalent of `regplot` with the confidence interval or a `boxplot`... The other stuff works as expected.