I want to import a geojson file into python so I can map it with a visualization package vincent and merge with other data in a pandas data frame.
To be specific, the said geojson file is: https://gist.githubusercontent.com/justgrimes/a63e8ec28868d8ce337e/raw/13cd7d8867e579d8b4f6b44f002a99940fba0504/DCNeighborhoodBoundariesWaPo.geojson. It's a map of DC with neighborhoods, put together by Justin Grimes.
Right now, I'm just trying to visualize this map on notebook. Here's my code:
import vincent
map=r'https://gist.githubusercontent.com/justgrimes/a63e8ec28868d8ce337e/raw/13cd7d8867e579d8b4f6b44f002a99940fba0504/DCNeighborhoodBoundariesWaPo.geojson'
geo_data = [{'name': 'countries',
'url': map,
'feature': "features"}]
vis = vincent.Map(geo_data=geo_data, scale=5000)
vis
but I have nothing in the output. What am I doing wrong here?
I don't yet know much about GIS and Python.