So far, we have looked at various scenarios of creating plots using the
ggplot2 library. In order to take the plotting to a new level, there are many libraries which can be referred to. Out of them, one library is
Bubble plot is a nice visualization in which the size of the bubble indicates the weight of each variable as it is present in the dataset. Let's look at the following plot:
> #Bubble plot using plotly > plot_ly(Cars93, x = Length, y = Width, text = paste("Type: ", Type), + mode = "markers", color = Length, size = Length)
The combination of
ggplot2 with the ...