10

Jan

Heatmap of Restaurants in New York City

Two things I like are data and food. The two rarely mix, unless you do something stupid like create a heatmap of restaurant density in New York City. Which is exactly what I did. Without further ado, here it is:
 
Brooklyn, Queens, Manhattan

Upper Manhattan
 
Downtown Manhattan
 
If you find this chart tasty, then try calling back for reservations over the next few days. The raw data set from NYC OpenData includes restaurant inspection grades and cuisine types, so consider this just the appetizer.
 
Lots of attributions here, since putting this together was like making Frankenstein. Restaurant addresses, of course, came from NYC OpenData’s Restaurant Inspection Results. Geocoding the raw addresses turned out to be harder than I expected, but it was nothing Excel/VBA (don’t judge) and Yahoo! PlaceFinder couldn’t solve. In order to generate the heatmaps, I used the Google Maps API and, most crucially, a JS heatmap library from Patrick Wied. Phew.
  1. pitcherplant reblogged this from dfkoz
  2. brooklyner reblogged this from nycopendata
  3. gracey reblogged this from dfkoz and added:
    Love a good visual map.
  4. nycdigital reblogged this from nycopendata
  5. nycopendata reblogged this from dfkoz and added:
    heatmaps created by dfkoz using...OpenData “Restaurant
  6. dfkoz posted this