Skip to content

Data Visualization project with Economist Corroption-Human Development Index

Notifications You must be signed in to change notification settings

minhosong88/Data_visualization_R

Repository files navigation

Corruption and Human Development Visualization

Overview

This project recreates the Economist's "Corruption and Human Development" plot using R and ggplot2. The visualization showcases the relationship between the Corruption Perceptions Index (CPI) and the Human Development Index (HDI) across regions, with annotations for selected countries.


Original Image

Below is the original plot from the Economist:

Original Plot


My Plot

Below is my version of the plot created using R:

My Plot


Features

  1. Scatter Plot: Points represent countries, colored by region.
  2. Trend Line: A red logarithmic regression line shows the general trend.
  3. Country Labels: Selected countries are labeled with connecting lines to avoid overlap.
  4. Custom Legend: A horizontal legend is placed at the top.
  5. Styled Axes: Axis titles are italicized, with customized scales and breaks.
  6. Grid Lines: Minor grid lines are removed, and horizontal grid lines are manually added.

Output

This plot effectively replicates the Economist's original visualization, showcasing the relationship between corruption and human development while maintaining a clean and professional style.

About

Data Visualization project with Economist Corroption-Human Development Index

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages