Life expectancy of people in U.S. states – an interactive map

Screen Shot 2016-04-28 at 12.27.32 PM

Last week, I found data from The Health Inequality Project detailing the average life expectancy for people who live in various states in America, male and female. I took the information from that dataset and plotted it into an interactive map of the United States.

Check out the interactive map here. 

I’m still troubleshooting some problems with the tooltip, which allows users to hover over each state and display the data from that particular state. I seem to be having trouble pulling the data from the corresponding CSV.

You can see my full GitHub repository here.

Here is the full index.js code:

Leave a Reply

Your email address will not be published. Required fields are marked *