Like geom point but has a rim and a filling

geom_bubble(fill = "grey35", ...)

Arguments

fill

character string color name or hexidecimal entry

...

Value

a ggplot2 layer

Examples

# without function
library(ggplot2)
ggplot(cars) +
  aes(x = speed, y = dist) +
  geom_point(shape = 21,size = 7,
    alpha = .85,
    color = "white",
    fill = "plum2")


 geom_bubble
#> function (fill = "grey35", ...) 
#> {
#>     geom_point(shape = 21, fill = fill, ...)
#> }
#> <bytecode: 0x7fa4634b6eb0>
#> <environment: namespace:ggdirect>

# using function
library(ggplot2)
ggplot(cars) +
  aes(x = speed, y = dist) +
  geom_bubble(size = 7,
    alpha = .85,
    color = "white",
    fill = "plum2"
   ) +
 theme_minimal()