Open serappfd opened 6 years ago
The number of discoveries between 1860 and 1959 was given. Please, find out which year is the most discovery, and find out over five discoveries in descending order and show them on the chart.
time discoveries 1 1885 12 2 1887 10 3 ...
library(ggplot2) library(readr) library(dplyr) claridge <- read.csv("https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/master/csv/datasets/discoveries.csv") claridge %>% select(time, discoveries) %>% arrange(desc(discoveries)) %>% filter(discoveries > 5) %>% ggplot(aes(x = time, y = discoveries, fill=time)) + geom_col()
Is this question
ggplot2, dplyr, readr
Question
The number of discoveries between 1860 and 1959 was given. Please, find out which year is the most discovery, and find out over five discoveries in descending order and show them on the chart.
Additional information
Originality
Is this question
Difficulty Level
Tags (optional)
ggplot2, dplyr, readr