Question: need help with ggplot/filter/aes/(re)order 1. how to filter by specific data in a column of a dataframe ex: in a dataframe called Netflix there is

need help with ggplot/filter/aes/(re)order

1. how to filter by specific data in a column of a dataframe

ex: in a dataframe called Netflix there is a column called type which consists of data either being "TV Shows" or "Movies", so how would i filter by just "TV Shows" in a ggplot

2. how to order the x axis in ascending order in a ggplot bar plot using geom_bar()

ex: in that same dataframe called Netflix there is a column called "duration" that is plotted on the x axis that needs to be in ascending order

please help asap

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!