Documentation
Tutorials
Python Seaborn Tutorial - GeeksforGeeks
Data Visualization
seaborn: statistical data visualization — seaborn 0.12.2 documentation
Data Visualization with Python • datagy
Seaborn in Python for Data Visualization • The Ultimate Guide • datagy
seaborn
is a Python data visualization library based on matplotlib
. It provides a high-level interface for creating informative and attractive statistical graphics. Seaborn is built on top of matplotlib
and is tightly integrated with the data structures from pandas
. It can be used to create many types of plots, including categorical plots, scatter plots, regression plots, and heatmaps.
pip install seaborn
import seaborn as sns
import matplotlib.pyplot as plt
df = sns.load_dataset('iris')
sns.scatterplot(x='sepal_length', y='petal_length', data=df, hue='species')
plt.show()
import seaborn as sns
import matplotlib.pyplot as plt
df = sns.load_dataset('titanic')
sns.catplot(x='class', y='fare', hue='sex', data=df, kind='bar')
plt.show()