運用色彩

理解資料視覺化

Richie Cotton

Data Evangelist at DataCamp

色彩空間:Red-Green-Blue

shutterstock_1622648830.jpg

理解資料視覺化

色彩空間:Cyan-Magenta-Yellow-blacK

shutterstock_505703968.jpg

理解資料視覺化

選擇繪圖調色盤

以不佳調色盤繪製的價格對面積散佈圖

  • 通常每種顏色都應同樣醒目。
  • 圖中相鄰顏色的知覺距離應大致固定。
理解資料視覺化

色彩空間:Hue-Chroma-Luminance

色相色票

理解資料視覺化

色彩空間:Hue-Chroma-Luminance

彩度與亮度色票

理解資料視覺化

色彩空間:Hue-Chroma-Luminance

色相、彩度與亮度色票

理解資料視覺化

三種色階:質性(qualitative)

類型 目的 變化項
qualitative 區分無序類別 hue

質性資料色票

理解資料視覺化

質性調色盤範例

美國家庭科技採用率折線圖。x 軸 1930–1970,y 軸 0–100%。四條線代表汽車、冰箱、爐具與吸塵器的採用。

理解資料視覺化

三種色階:連續(sequential)

類型 目的 變化項
sequential 呈現有序關係 chroma 或 luminance

連續色階色票

理解資料視覺化

連續調色盤範例

各年蔬菜消費長條圖

理解資料視覺化

另一個連續調色盤範例

以顏色呈現平均壽命的散佈圖:受教育年數對 GNI

1 Viridis color scale: https://bids.github.io/colormap
理解資料視覺化

三種色階:發散(diverging)

類型 目的 變化項
diverging 呈現相對中點的高低 chroma 或 luminance,搭配 2 種 hue

發散資料色票

理解資料視覺化

馬來西亞綠色科技問卷資料集

question response n
Uses reliable and repairable Strongly Disagree 4
Uses reliable and repairable Disagree 8
Uses reliable and repairable Neutral 37
Uses reliable and repairable Agree 52
Uses reliable and repairable Strongly Agree 26
... ... ...
1 Islam et al. (2019) http://dx.doi.org/10.17632/wggvryfhsk.1
理解資料視覺化

發散調色盤範例

李克特量表問卷長條圖

理解資料視覺化

一起來練習吧!

理解資料視覺化

Preparing Video For Download...