Trelliscope faceting gapminder by country
With a subset of the gapminder data (just the two countries in Oceania), take the example of life expectancy vs. year faceted by country and continent and create a TrelliscopeJS display.
The gapminder data set is available for you in your workspace.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Visualizing Big Data with Trelliscope in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
library(ggplot2)
library(trelliscopejs)
# Create the plot
ggplot(gapminder, ___) +
___ +
# Facet on country and continent
facet_trelliscope(~ ___ + ___)