barplots、pointplots 和 countplots
最後一組類別型圖表是 barplots、pointplots 和 countplot,用來建立資料的統計摘要。這些圖的 API 與其他圖相似,並可依手邊的問題進一步自訂。
本練習屬於課程
Seaborn 資料視覺化中級
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Show a countplot with the number of models used with each region a different color
sns.____(data=df,
y="____",
hue="____")
plt.show()
plt.clf()