A bubble chart in ggplot2
is actually a point plot (geom_point
), where the size
aesthetic is assigned to a (continuous) variable. The following example shows a bubble chart as you described for the meuse
dataset (part of the sp
package). It shows heavy metal concentrations close to the river meuse in the Netherlands.
library(sp)
data(meuse)
library(ggplot2)
theme_set(theme_bw())
ggplot(meuse, aes(x = x, y = y, size = zinc)) + geom_point()