News for hackers. Stuff that matters.
Re:A Tiny Grammar of Graphics by vavooom on Tuesday June 14, 2022 @02:51PM (#31744170)
A larger, more detailed introduction to this topic is best discussed by Hadley Wickham in his seminal paper "A Layered Grammar of Graphics".

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.

Re:A Tiny Grammar of Graphics by lo5 on Tuesday June 14, 2022 @03:37PM (#31744897)
Even more detailed is the original book by Leland Wilkinson, on which ggplot2 is based: https://link.springer.com/book/10.1007/0-387-28695-0.

The original implementations go back to SYSTAT and SPSS GPL (Graphics Production Language).

GPL especially, with its statement-based approach, has arguably better ergonomics for interactively and iteratively producing plots compared to function-based approaches.

Re:A Tiny Grammar of Graphics by madcaptenor on Tuesday June 14, 2022 @04:56PM (#31745963)
I use ggplot2 regularly and have read Wilkinson but honestly I have a bit of trouble seeing how ggplot2 is an implementation of Wilkinson's book.

(It's been a few years, maybe I should take another look at the book.)

Re:A Tiny Grammar of Graphics by lo5 on Tuesday June 14, 2022 @05:26PM (#31746286)
The overview links to the book. See: https://ggplot2.tidyverse.org/

> ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics.

Re:A Tiny Grammar of Graphics by madcaptenor on Tuesday June 14, 2022 @06:16PM (#31746713)
I have the book! I just should figure out where it is on my shelves.
Re:A Tiny Grammar of Graphics by watersb on Tuesday June 14, 2022 @11:49PM (#31748911)
Rather expensive by my standards these days. When I was a starving student, I would not have hesitated to buy it from that corner in the back of Cody's Books.

Springer runs occasional sales up to 40% discount about once a year, but a don't recall if "The Grammar of Graphics" was eligible last time.

Re:A Tiny Grammar of Graphics by madcaptenor on Thursday June 16, 2022 @09:26AM (#31765782)
They're running a sale right now, through June 30, but it doesn't look like G of G is eligible: https://link.springer.com/shop/springer/yellow-sale/en-eu/
Re:A Tiny Grammar of Graphics by ngmc on Tuesday June 14, 2022 @05:14PM (#31746172)
Love that paper. Wickham also made his ggplot2 book freely available:

https://ggplot2-book.org/