Tag Archives: Redis

Zooniverse: Live

Yesterday we pushed Zooniverse Live to be… er… live. Zooniverse Live is a constantly updated screen, showing live updates from most of our projects. You’ll see a map displaying the location of recent Zooniverse volunteer’s classifications and a fast-moving list of recently classified images. Zooniverse Live is on display in our Chicago and Oxford offices, but we thought it would be cool to share it with everyone.

At the time this screenshot was taken, the USA was very active and Snapshot Serengeti was busy.
At the time this screenshot was taken, the USA was very active and Snapshot Serengeti was busy.

The Zooniverse is a very busy place these days and we’ve been looking for ways to visualize activity across all the projects. Zooniverse Live is a fairly simple web application. Its backend is written in Clojure (pronounced Closure) and the front end is written in JavaScript using a library for data visualization called D3. The Zooniverse Live server listens to a stream of classification information provided by the Zooniverse projects – via a database technology called Redis. Zooniverse Live then updates its own internal database of classifications on the backend, with the front end periodically asking for updates.

The secret sauce is figuring out where users are classifying from. Zooniverse Live does that using IP Addresses. Everyone connected to the internet is assigned an IP Address by their Internet Service Provider (ISP). While the IP address assigned may change each time a computer connects to the internet, each address is unique and can be tied to a rough geographical area. When Zooniverse projects send their classifications to Zooniverse Live, they include the IP Address the user was classifying from, letting Zooniverse Live do a lookup for the user’s location to plot on the map. The locations obtained in this way are approximate, and in most cases represent your local Internet exchange.

Hopefully you’ll enjoy having a look at Zooniverse Live, and we’d love to hear ideas for other Zooniverse data visualizations you’d like to see.