4 ms·
Looks like this is the data source: http://data.cityofnewyork.us/resource/3q43-55fe?$limit=10000 http://data.cityofnewyork.us/resource/3q43-55fe?$limit=10000 T
by maxmcd 12y ago
Looks like this is the data source: http://data.cityofnewyork.us/resource/3q43-55fe?$limit=10000 http://data.cityofnewyork.us/resource/3q43-55fe?$limit=10000
This map is great in terms of personal use. "Are there rat reports near where I live?". But would be great to see someone hack together a heat-map or something that better displays density.
Edit: Here's a quick stab: http://jsbin.com/dihiwetoja/2/ http://jsbin.com/dihiwetoja/2/
- meredithmmyers 12y agoThanks! I am hoping to add a heat map. And yes the data is from Socrata's Open Data Platform API (https://nycopendata.socrata.com/Social-Services/Rat-Sightings/3q43-55fe https://nycopendata.socrata.com/Social-Services/Rat-Sighting...)
- sunspeck 12y agoHave you considered a chloropleth[1]? Similar effect to a heat map but likely much easier to implement. Just shade each of your already defined regions by [sightings/area]. [1] http://en.wikipedia.org/wiki/Choropleth_map http://en.wikipedia.org/wiki/Choropleth_map
- meredithmmyers 12y agoI hadn't for this project - to be honest I didn't have a clear plan for this project, it was just something I threw together in a few hours for fun because I thought the dataset was amusing :) A chloropleth is a great idea though. If I find the time to improve this, I'll definitely keep that in mind!
- oliv__ 12y agoOh shit the LES is pretty damn red
- kissickas 12y agoAnyone manage to get a screenshot? jsbin says it has expired.
- maxmcd 12y agohttp://jsfiddle.net/955x2w5a/embedded/result/ http://jsfiddle.net/955x2w5a/embedded/result/