收錄於話題 #可視化 2個
本文由和鯨創作者@lqy上傳,翻譯自machinelearningplus.com,來源連結:
https://www.machinelearningplus.com/plots/top-50-matplotlib-visualizations-the-master-plots-python/
作者認為,一個優秀的可視化,需要具備以下特徵:
在不歪曲事實的情況下傳達正確和必要的信息。
設計簡單,不必太費力就能理解它。
從審美角度支持信息而不是掩蓋信息。
信息沒有超負荷。
而以下可視化,都是基於上面這4點製作的。
這些圖表根據可視化目標的7個不同情景進行分組,目錄如下:
以上所有圖表的生成代碼都包含在項目中,並且包含了一些必要的講解。
如果對這個項目感興趣的話,可以掃描文首二維碼直接fork運行/下載。
以下正文
關聯 (Correlation)
散點圖(Scatter plot)帶邊界的氣泡圖(Bubble plot with Encircling)
帶線性回歸最佳擬合線的散點圖 (Scatter plot with linear regression line of best fit)
抖動圖 (Jittering with stripplot)計數圖 (Counts Plot)
邊緣直方圖 (Marginal Histogram)邊緣箱形圖 (Marginal Boxplot)相關圖 (Correllogram)矩陣圖 (Pairwise Plot) 偏差 (Deviation)發散型條形圖 (Diverging Bars)發散型文本 (Diverging Texts)發散型包點圖 (Diverging Dot Plot)帶標記的發散型棒棒糖圖(Diverging Lollipop Chart with Markers)面積圖 (Area Chart) 排序 (Ranking)有序條形圖 (Ordered Bar Chart)
棒棒糖圖 (Lollipop Chart)包點圖 (Dot Plot)坡度圖 (Slope Chart)啞鈴圖 (Dumbbell Plot) 分布 (Distribution)連續變量的直方圖 (Histogram for Continuous Variable)類型變量的直方圖(Histogram for Categorical Variable)密度圖 (Density Plot)
直方密度線圖 (Density Curves with Histogram)Joy Plot分布式包點圖(Distributed Dot Plot)箱形圖 (Box Plot)包點+箱形圖 (Dot + Box Plot)小提琴圖 (Violin Plot)人口金字塔(Population Pyramid)分類圖 (Categorical Plots) 組成 (Composition)
華夫餅圖 (Waffle Chart)餅圖 (Pie Chart)
樹形圖 (Treemap)
條形圖 (Bar Chart) 變化 (Change)時間序列圖 (Time Series Plot)帶波峰波谷標記的時序圖(Time Series with Peaks and Troughs Annotated)自相關和部分自相關圖 (Autocorrelation (ACF) and Partial Autocorrelation (PACF) Plot)交叉相關圖(Cross Correlation plot)時間序列分解圖(Time Series Decomposition Plot)多個時間序列(Multiple Time Series)使用輔助 Y 軸來繪製不同範圍的圖形(Plotting with different scales using secondary Y axis)帶有誤差帶的時間序列(Time Series with Error Bands)堆積面積圖(Stacked Area Chart)未堆積的面積圖(Area Chart UnStacked)日曆熱力圖(Calendar Heat Map)季節圖(Seasonal Plot) 分組 (Groups)
樹狀圖 (Dendrogram)簇狀圖 (Cluster Plot)安德魯斯曲線 (Andrews Curve)平行坐標(Parallel Coordinates)正文完
項目連結如下
項目相關數據集連結如下