We wanted our map of thefts to be more than a pretty picture, to provide useful data visualization—with searching, browsing through time, and links to the reports on Bike Index.
map.bikewise.org shows the 100 most recent thefts for the area you are viewing. It updates with new results every time you move the map, which has the neat effect of filling in more thefts as you zoom in.
You can search theft and bike data with the search bar—but searching doesn't move you to matching results. If you search and don't see anything, try zooming out.
The markers are colored according to the when the theft happened, the legend explains what the colors mean and you can click on time periods in the legend to to filter by them.
If you want to see more results, click on show 500 (slower) underneath the search bar. Clear all the markers with the clear map link if you get overwhelmed.
Additions and issues
This was our first mapping project. If you think there are things that should be done differently, please submit an issue!
Running it locally
This is a Jekyll project. From the project directory in the terminal:
- Install Jekyll with
gem install jekyll && gem install jekyll-coffeescript
- Start the dev server with
It will start a local copy that updates on changes.
The code that makes this work is in assets/base.coffee.