BaşlayınÜcretsiz başlayın

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.

Bu egzersiz, kursun bir parçasıdır

Case Study: Exploratory Data Analysis in R

Kursa Göz Atın

Egzersiz talimatları

  • Load the ggplot2 package.
  • Filter the by_country_year_topic dataset for just the United States and save the result as US_by_country_year_topic.
  • Use this dataset to graph the percentage "yes" over time for the United States, faceting by topic.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Load the ggplot2 package


# Filter by_country_year_topic for just the US


# Plot % yes over time for the US, faceting by topic


Kodu Düzenle ve Çalıştır