 in R? <code>ggplot2</code> was based on a book called <em>Grammar of Graphics</em> by Leland Wilkinson (hence the gg in <code>ggplot2</code>), yours for only <a href="https://www.springer.com/gp/book/9780387245447">£100</a> or so. But before you spend all that money, see <a href="https://www.jstatsoft.org/article/view/v017b03/v17b03.pdf">here</a> for an interesting summary of Wilkinson’s book.</p>
<p>The <em>Grammar of Graphics</em> approach moves away from the idea that to create, for example, a scatte