#!/usr/bin/env python3

import numpy as np
import matplotlib.pyplot as plt

N = 50
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 radiuses

plt.scatter(x, y, s=area, c=colors, alpha=0.5)
plt.xlabel('Stuff')
plt.ylabel('Things')
plt.title('Stuff vs. Things')
plt.show()

#!/usr/bin/env python3

import numpy as np
import matplotlib.pyplot as plt

N = 50
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 radiuses

plt.scatter(x, y, s=area, c=colors, alpha=0.5)
plt.xlabel('Stuff')
plt.ylabel('Things')
plt.title('Stuff vs. Things')
plt.show()

#!/usr/bin/env python3 # 0 to 15 point radiuses