Packages and Data

Incarceration and Country

The data from this graph comes from the United Nations Office on Drugs and Crime. The UNODC collects data about crime and the justice system in order to analyze and form conclusions that can be shared with the world to help form better policies. This data is collected through surveys across the world. I wanted to use this data to look at the number of people in prison in the most “developed” countries. After doing some research, I learned that in terms of countries, development just means that the country has a high GDP and a good economy.

I was curious to see if the countries that were similar in economic success were also similar in how they dealt with crime.

As I began to make the graph it became very apparent that the United States has a significantly higher rate of people in prison than the three other developed countries. While China and Germany are arguably almost the same, and with Japan slightly less, it is clear that the United States must have a very different way of dealing with crime than these other countries. Another trend that can be seen is the faint decline of the prison rate in the United States.

I used a stacked bar graph to display this data because it was the most effective way to portray the overwhelming rate of United States citizens that are in prison compared to China, Germany, and Japan. I chose these colors because they are easy to distinguish from one another, and colorblind friendly. I opted to not have a subtitle because it would not add anything to this graph.

Crime and State

This data is from the Uniform Crime Reporting Statistics database, which is a culmination of FBI crime statistics across the nation dating back to 1930. I chose to focus on New York, Illinois, Texas, and California because they contain the four largest cities in the United States by population, and more populated areas often contain higher rates of crime.

I wanted to know if and how the number of crimes has fluctuated over time.

After crafting together this graph, I have come to the conclusion that the number of crimes peaked in all states around 1997, and then began to decline. This trend is most dramatically demonstrated by California and New York. Texas and Illinois show a milder version of this, and Texas plateaus at a higher point in relation to its starting point, than all other states.

I chose these colors because they are colorblind friendly and aesthetically pleasing. The bar graph was used because it displays the fluctuation in crime in the clearest way, and can be used to see the specific number of crimes quite easily. Lastly, faceting across the states and setting a universal range for the y-axis allowed for the best comparison between the states.