Introducción a la visualización de datos con ggplot2
Rick Scavetta
Founder, Scavetta Academy
ggplot(iris, aes(x = Sepal.Length, 
                 y = Sepal.Width)) + 
  geom_point(color = "red")
| Tipo | Propiedad | 
|---|---|
| Color | "red" | 
Establece atributos en geom_*().
El atributo de color se establece en "red".

ggplot(iris, aes(x = Sepal.Length, 
                 y = Sepal.Width)) + 
  geom_point(size = 10)
| Tipo | Propiedad | 
|---|---|
| Size | 4 | 

ggplot(iris, aes(x = Sepal.Length, 
                 y = Sepal.Width)) + 
  geom_point(shape = 4)
| Tipo | Propiedad | 
|---|---|
| Shape | 4 | 

Introducción a la visualización de datos con ggplot2