국가별 Trelliscope 패싯팅 gapminder
gapminder 데이터의 부분집합(오세아니아의 두 국가만)으로, 국가 및 대륙별로 패싯팅한 기대수명 대비 연도 예제를 바탕으로 TrelliscopeJS 디스플레이를 만들어 보세요.
gapminder 데이터셋은 워크스페이스에 준비되어 있어요.
이 연습은 강의의 일부입니다
R에서 Trelliscope로 빅데이터 시각화하기
실습형 인터랙티브 연습
이 예제를 이 샘플 코드를 완성하여 풀어보세요.
library(ggplot2)
library(trelliscopejs)
# Create the plot
ggplot(gapminder, ___) +
___ +
# Facet on country and continent
facet_trelliscope(~ ___ + ___)