Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

in the attached file

1 answer below »
Assignment 2
PS 3780 Data Literacy & Visualization, Summer 2022
Due Date: Thursday, May 26, 2022 at 11:59 p.m.
This assignment is designed to test your ability to gather, aggregate, evaluate and describe
data. Additionally, this assignment tests your ability to di�erentiate between di�erent
forms of data visualization. Please save your answer to these questions as one
.pdf �le (use the �save as� function in most word processors). Be sure to include you
name, your teammate's name if there is anyone, and the assignment number. Submit all
�les to Carmen by the due date.
Gapminde
Think about what might account for di�ering levels of happiness across countries. Go to
Gapminder World (https:
www.gapminder.org/tools/), select the Y (vertical) axis,
and select Happiness score (WHR) under the Society category. What do you think would
co
elate with this measure, internationally? Scan the available data on the X axis and
try out a couple di�erent variables. Make sure to select a variable for which there is data
on enough countries on a long enough time period. Select one of the variables you looked
at and evaluate the relationship between that variable and happiness. Why do you think
you might be seeing those patterns in the data? Use the links button to create a short
URL to your graph. Along with this link, write 1-2 paragraphs describing the patterns
you see in the data and speculating about what might have produced them. (3 points)
Datawrappe
Download a CSV �le of the variable you compared to Happiness in the question above.
(On the Gapminder page, go to Facts � Data and type in the name of the variable
you selected.) Use this dataset and Datawrapper (https:
www.datawrapper.de/) to
generate a Choropleth map of the world. Select a recent year for which most countries
have values and co
ect the names of unmatched countries. What year did you select
and what is the variation for you chosen variable around the world in that year? Does
there appear to be any geographic clustering of values or are the randomly spread across
the glob. Include a screenshot of you map and write 1-2 paragraphs describing the
visualization and answering the questions. (3 points)
1
https:
www.gapminder.org/tools
https:
www.datawrapper.de/
Answered Same Day May 26, 2022

Solution

Mohd answered on May 27 2022
88 Votes
-
-
-
5/26/2022
li
ary(readr)
li
ary(magrittr)
li
ary(dplyr)
li
ary(ggplot2)
li
ary(rmarkdown)
li
ary(readr)
income_per_person_gdppercapita_ppp_inflation_adjusted <- read_csv("New folder (2)/income_per_person_gdppercapita_ppp_inflation_adjusted.csv")
Removing K from data values
PerCapInc<-income_per_person_gdppercapita_ppp_inflation_adjusted[,c(1,4)]
PerCapInc$year_2021<-PerCapInc$`2021`
PerCapInc$`2021`=NULL
li
ary(data.table)
head(PerCapInc,10)
## # A ti
le: 10 x 2
## country year_2021
##
## 1 Afghanistan 1950
## 2 Angola 6060
## 3 Albania 13.9k
## 4 Ando
a 63.7k
## 5 United Arab Emirates 61.3k
## 6 Argentina 20.6k
## 7 Armenia 12.7k
## 8 Antigua and Ba
uda 17.1k
## 9 Australia 50.1k
## 10 Austria ...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here