import seaborn as sns
import matplotlib.pyplot as plt
df = sns.load_dataset("penguins")
sns.scatterplot(x='bill_length_mm', y='bill_depth_mm', data=df)
plt.show()
sns.histplot(df['body_mass_g'], bins=20, kde=True)
plt.show()
sns.boxplot(x='species', y='body_mass_g', data=df)
plt.show()
sns.set_theme(style="darkgrid")
sns.scatterplot(x='flipper_length_mm', y='body_mass_g', data=df)
plt.show()
import numpy as np
correlation_matrix = df.corr()
sns.heatmap(correlation_matrix, annot=True, cmap='coolwarm')
plt.show()
sns.pairplot(df, hue='species')
plt.show()