<- gapminder::gapminder gapminder
Classwork 6
Visualization Practice
Question 1
The following data is for Question 1:
Q1a
- Replicate the following ggplot.
- Use the color
#0072B2
for dots.
- Use the color
Answer:
Q1b
Make a simple comment on the visualization result.
- Any comment that is not made up is okay.
Answer:
Question 2
The following data set is for Question 2:
<- read_csv(
electricity 'https://bcdanl.github.io/data/electricity-usa-chn.csv')
Q2a
- Replicate the following ggplot.
Answer:
Q2b
- Replicate the following ggplot.
Answer:
Question 3
The following data is for Question 3:
<- read_csv(
n_tweets_long 'https://bcdanl.github.io/data/n_tweets_long.csv')
Q3a
Replicate the following ggplot.
- The following describes the
type
values:n_ot_us
: Number of US tweetsn_ot_wrld
: Number of worldwide tweetsn_rt_lk_us
: Number of US retweets & likesn_rt_lk_wrld
: Number of worldwide retweets & likes
- Use the colors,
maroon
and#428bca
properly.
- The following describes the
Answer:
Q3b.
- Make a simple comment on the visualization result.
Discussion
Welcome to our Classwork 6 Discussion Board! 👋
This space is designed for you to engage with your classmates about the material covered in Classwork 6.
Whether you are looking to delve deeper into the content, share insights, or have questions about the content, this is the perfect place for you.
If you have any specific questions for Byeong-Hak (@bcdanl) regarding the Classwork 6 materials or need clarification on any points, don’t hesitate to ask here.
All comments will be stored here.
Let’s collaborate and learn from each other!