Skip to content

Recreating an Economist-style plot with materials from Harvard's IQSS workshop

Notifications You must be signed in to change notification settings

onlyphantom/rgraphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to R Graphics with ggplot2 (IQSS)

This is a weekend exercise, using materials from a workshop offered by Harvard University's Institute for Quantitative Social Science (IQSS) program. The original workshop notes can be found on the IQSS website.

The end result:

Challenge

At the end of the exercise, the workshop presented a graph on Corruption and Human Development Index originally created from the Economist and challenge the readers to recreate one as close as possible to the original economist graph.

Project structure

The project is completed using R notebook, and exported to both HTML and PDF. All three files (Rmd, HTML and PDF) are available in this repo. At the end of the exercise, I have attempted to re-create the original graph from scratch using only the vanilla ggplot library (without the use of ggthemes or other theming library) and in the process showed how we can create a custom theme for our own projects.

About

Recreating an Economist-style plot with materials from Harvard's IQSS workshop

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages