Data Visualization on Economic Confidence via Shiny

Posted on Nov 6, 2016
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.


It appears clearly that after economic crisis after 2007 global downturn takes heavy toll in almost every corner of the world. Publics around the world are decidedly unhappy about their nations’ economies. Most are displeased with current economic conditions and concerned about rising economic inequality; few are optimistic about the coming year. However, at the same time, most global publics say their personal finances are in better shape than their national economies, according to data from a new 39-nation survey. I made shiny app to demonstrate visualization of world economy confidence. It includes world map of 39 countries. Each of their economic satisfaction are highlighted with color.


Economy Categorization by Data

To categorize the 39 countries surveyed into three categories – advanced economies, emerging markets and developing economies – we started with the World Bank classification of countries by income.

Next, we used the absolute size of the economy as well as the relative wealth per capita to determine whether the emerging markets and developing economies were classified correctly.

Finally, we cross-referenced our coding of the countries against expert classifications, such as the International Monetary Fund.


Data Visualization on Economic Confidence via Shiny

This is the main board of my shiny app. On top there are info boxes indicate highest and lowest score as well as average score of satisfaction rate. Highlighted nations has interactive box when mouse move upon them shows rate.


Data Visualization on Economic Confidence via Shiny

This is bar chart compare each countries satisfaction rates. Both "Satisfied" and "Dissatisfied" number.

Data Visualization on Economic Confidence via Shiny

This is the dataset of 39 nations.


Data on National and Economic Conditions


Across the globe, few are happy with the direction of their country – less than half in 34 of the 39 countries surveyed say things are going well. Satisfaction is particularly low in advanced and developing economies, while publics in emerging markets tend to be somewhat more content.



Among the advanced economies, only in Germany (57%) and Canada (55%) do more than half of those surveyed say their country is moving in the right direction. In most countries, a third or fewer are satisfied with their nation’s path.

Similarly, roughly four-in-ten or fewer in most of the developing economies surveyed say things are going well in their countries.

Overall, country satisfaction is somewhat higher in the emerging markets – at least three-in-ten in most countries say their nation is on the right track. Nonetheless, even among this group, few publics give positive reviews of how things are going in their country.

About Author

Leave a Comment November 14, 2016
Hello I am so grateful I found your webpage, I really found you by error, while I was browsing on Digg for something else, Regardless I am here now and would just like to say many thanks for a marvelous post and a all round interesting blog (I also love the theme/design), I don’t have time to go through it all at the moment but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the excellent b.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI