|
|
|
|
|
by rprospero
4627 days ago
|
|
The merits of higher level programming are hard to explain to a Blub programmer, but the differences are trivial to explain. I can tell a C programmer that Lisp has automatic memory management, higher order functions, macros, and atoms. She may not know why those matter, but I can tell her they exist. I can tell a Python programmer that Haskell has pure functions, Monads, Arrows, and an advanced type system. He'll think those will make his life harder, but he'll know they're there. What makes GGplot different? I know that I won't understand why this difference matters until I've played with it, but it will at least tell me where to start playing. |
|
But let's say you need something a little different. Maybe you want to add additional dimensions to that dot plot. Maybe you want the dots' size or color to be mapped to different aspects of your data. In a world without ggplot2 (or more generally the grammar of graphics), you're pretty much stuck going to a very primitive drawing system in which you're specifying the virtual path of a pen, or working with basic geometric figures.
The grammar of graphics and ggplot2 occupy a sweet middle ground between being able to simply pick an off-the-shelf visualization, and needing to draw the whole damn works manually. And because the grammar really is consistent, you can also play with different facets of your data and build completely different charts to see which is better at presenting your thesis.
In short, ggplot2 rocks, Hadley/Leland rock, and a port of ggplot2 to Python is nothing but good news for the Python community.