import numpy as np
import matplotlib.pyplot as plt
N = 100
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
area = np.pi * (15 * np.random.rand(N))**2 # 0 to 15 point radii
plt.scatter(x, y, s=area, c=colors, alpha=0.5)
plt.show()
#### Space so we can show off the cool graph and have enough room
#### When you run this we produce a big graph
Run
.