
Ggplot2
by Hadley Wickham · first published 2009
6mentions
5recommended by
6HN commenters
2009–2017first – last mentioned
83% recommend17% neutral
Why HN recommends it
Teaches a layered grammar-of-graphics approach to building plots in R. Once the layer model is understood, new plots are easy to construct without constant example lookup. Suits R users making statistical graphics.
Summarised by Claude from recommending comments
Affiliate links. As an Amazon Associate I earn from qualifying purchases.

…Grammar of Graphics" http://www.amazon.com/Grammar-Graphics-Leland-Wilkinson/dp/0... is also excellent and fully implemented in the R programming language/statistics package ( http://www.amazon.com/ggplot2-Elegant-Graphics-Data-Analysis... )
on “Ask HN: Any good books on graphing/charting/visualization?” ↗If you're interested in good references for being able to produce `visual stories' I suggest you have a look into the R package `ggplot2' [1]. It's a great way (although a little challenging at first) of being able to produce almost all of the types of plots you're interested in creating. The author of the package also wrote a great book…
on “R in Action” ↗GGplot2, by H Wickham http://had.co.nz/ggplot2/ and the bay Area user's group http://www.meetup.com/R-Users/calendar/10446894/
on “Ask HN: Using R” ↗One of the best all-around plotting packages for R (in my opinion) is Hadley Wickham's ggplot2 . Take a look at the following pages: http://had.co.nz/ggplot2/scale_datetime.html http://had.co.nz/ggplot2/geom_line.html While not specifically inentended as a 'time-series' package, ggplot2's facilities…
on “R by example ” ↗…adjustment Once you get a hang of this, it becomes easy to create new plots purely from the understanding of the layers. In matplotlib or even in Seaborn, I find myself constantly Googling for examples. ggplot2 is the most beautiful thing to happen in visualization space! [1] Wickham, Hadley, and Carson Sievert. "4.4.1 Layers." Ggplot2: Elegant Graphics for Data Analysis. Dordrecht: Springer, 2016. N. pag.…
on “Plotnine: A grammar of graphics for Python” ↗…gg- in the name; see section 1.3 of [1], and [2,3]) for very fast and convenient interactive plotting, whereas matplotlib is just a clone of MATLIB's procedural plotting API. [1] http://www.amazon.com/ggplot2-Elegant-Graphics-Data-Analysis... [2] http://www.amazon.com/The-Grammar-Graphics-Statistics-Comput... [3] http://vita.had.co.nz/papers/layered-grammar.html
on “Comparison – R vs. Python: head to head data analysis” ↗