Skip to content

A quick prototype highlighting usage of Open Data made available by Plymouth City Council and located at http://thedata.place/organization/plymouth, in response to the DATAPlay initiative

License

Notifications You must be signed in to change notification settings

chrisweight/pcc-life-expectancy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcc-life-expectancy

A quick experiment using some open data sets from Plymouth City Council to show life expectancy by neighbourhood over the years the data is available.

This combines the neighbourhood delineations data:

and the life expectancy data:

The app interpolates a colour from red / green range based on the average life expectancy for a neighbourhood in a particular year, so:

  • RED = Shorter average life expectancy
  • GREEN = Longer average life expectancy

Drag the slider on the top-right to change the year and roll your mouse over the neighbourhood for it's name and the stats.

I had to do a bunch of geospatial data conversion to get Google Maps to correctly recognise the co-ordinate types of the geoJSON, which was a pain.No build-process / minification on this, it's just a quick prototype!

#Stack:

  • Google Maps + API
  • geoJSON loading / rendering / styling
  • jQuery (for speed of development, not style ;) )
  • plain ol' CSS

##Any issues, please fix via pull-request!

About

A quick prototype highlighting usage of Open Data made available by Plymouth City Council and located at http://thedata.place/organization/plymouth, in response to the DATAPlay initiative

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published