Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python bubble plot

import matplotlib.pyplot as plt
# scatter plot with scatter() function
# bubble size with "s"
# df dataframe contain columns X, Y, Z variables values
plt.scatter('X', 'Y', s='Z', data=df)
plt.xlabel("X", size=16)
plt.ylabel("y", size=16)
plt.title("Bubble Plot", size=18)
Source by datavizpyr.com #
 
PREVIOUS NEXT
Tagged: #python #bubble #plot
ADD COMMENT
Topic
Name
4+1 =