国別のファセット化

ケーススタディ:Rで行う探索的データ分析

Dave Robinson

Chief Data Scientist, DataCamp

複数国の可視化

2-3_v2.002.png

ケーススタディ:Rで行う探索的データ分析

複数国の可視化

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country)

2-3_v2.006.png

ケーススタディ:Rで行う探索的データ分析

別スケールでの可視化

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country, scales = "free_y")

2-3_v2.008.png

ケーススタディ:Rで行う探索的データ分析

別スケールでの可視化

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country, scales = "free_y")

2-3_v2.009.png

ケーススタディ:Rで行う探索的データ分析

別スケールでの可視化

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country, scales = "free_y")

2-3_v2.010.png

ケーススタディ:Rで行う探索的データ分析

演習に進みましょう

ケーススタディ:Rで行う探索的データ分析

Preparing Video For Download...