4 ms·
I find it the opposite. The syntax is the most intuitive of all plotting applications. Layers are as follows [1] 1. Data 2. Aesthetic mappings 3. Statistica
by npgatech 9y ago
I find it the opposite. The syntax is the most intuitive of all plotting applications.
Layers are as follows [1]
1. Data
2. Aesthetic mappings
3. Statistical transformation (stat)
4. Geometric object (geom)
5. Position 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. Print.