Open16
WebBook/サイトに関してここでまとめておく
R/Pythonで計量政治学入門
著者: 土井翔平 at 北海道大学公共政策大学院および法学部・大学院法学研究科
カラーコントラストのチェックができる
So contrast comes into play with text as well as color. In general, you should consider a 7 to 1 contrast ratio for text, minimally 4 to 1.
# default ggplot2 discrete color (left) against the default ggplot2 gray background
visibly::color_contrast_checker(foreground = '#F8766D', background = 'gray92')
#> ratio AA AALarge AAA AAALarge
#>1 2.25 fail fail fail fail
# the dark viridis (right) would be better
visibly::color_contrast_checker(foreground = '#440154', background = 'gray92')
#> ratio AA AALarge AAA AAALarge
#>1 12.7 pass pass pass pass
地理空間データの基本 | Rを使った地理空間データの可視化と分析
現在開発中?(2025-04-02時点)
ログインするとコメントできます