Data Import

In [1]:
import matplotlib.pyplot as plt
import pandas as pd
#Please adjust to your file
df=pd.read_excel("/Users/davidmika/Desktop/First.xlsx","Sheet1")

Bubble Plot

In [2]:
fig=plt.figure()
ax = fig.add_subplot(1,1,1)
#Change variables here; s=df defines which variable defines the size
ax.scatter(df['Age'], df['Sales'], s=df['Income'])
#Show bubble plot
plt.show()
In [ ]: