Visualizing trends in topics for one country
You can now visualize the trends in percentage "yes" over time for all six topics side-by-side. Here, you'll visualize them just for the United States.
Este ejercicio forma parte del curso
Case Study: Exploratory Data Analysis in R
Instrucciones del ejercicio
- Load the
ggplot2package. - Filter the
by_country_year_topicdataset for just the United States and save the result asUS_by_country_year_topic. - Use this dataset to graph the percentage "yes" over time for the United States, faceting by topic.
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# Load the ggplot2 package
# Filter by_country_year_topic for just the US
# Plot % yes over time for the US, faceting by topic