Preview:
#5. Box Plot
#Box plots are used to show the distribution of data based on quartiles.
# Example: Box plot of Sales
sales = [12000, 15000, 17000, 13000, 16000, 19000]

plt.boxplot(sales)
plt.title("Box Plot of Sales")
plt.ylabel("Sales ($)")
plt.show()
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter