Bubble Chart
By using Bubble Chart , you can add third dimension in scatter plot. The bubble chart represents the third variable with the size of the Bubble.
Python3
import matplotlib.pyplot as plt import numpy as np # Example: Bubble Chart x = np.random.rand( 50 ) y = np.random.rand( 50 ) sizes = np.random.rand( 50 ) * 100 plt.scatter(x, y, s = sizes, alpha = 0.5 ) plt.title( 'Bubble Chart Example' ) plt.show() |
Output:
Basic Python Charts
Python Chart is part of data visualization to present data in a graphical format. It helps people understand the significance of data by summarizing and presenting huge amounts of data in a simple and easy-to-understand format and helps communicate information clearly and effectively.
In this article, we will be discussing various Python Charts that help to visualize data in various dimensions such as Histograms, Column charts, Box plot charts, Line charts, and so on.
Table of Content
- Python Charts for Data Visualization
- Histogram
- Column Chart
- Box plot chart
- Pie Chart
- Scatter Chart
- Line Chart
- Area Chart
- Heatmap
- Bubble Chart
- Radar Chart
- Conclusion