rufuspollock / ideas

Ideas for (tech) stuff to research, build or work on.
https://rufuspollock.com/
50 stars 4 forks source link

Choropleth Maps for timeseries(es) #72

Open davidmiller opened 11 years ago

davidmiller commented 11 years ago

Choropleths [1] are an excellent way of presenting some forms of data.

Often the individual regions within a choropleth have data that can be helpfully thought of as a timeseries [2].

Wouldn't it be neat if you could load a sequence of timeserieses onto a chloropleth map with a big "Play" button which would move forwards in time showing how the data changes?

Maybe with fancy(ish) transitions from one state to another?

Perhaps it would be even nicer as a Leaflet[3] Map ?

Come to think of it, you could absolutely implement a Recline.js [4] view.

[1] http://en.wikipedia.org/wiki/Choropleth_map [2] http://en.wikipedia.org/wiki/Timeseries [3] http://leafletjs.com/ [4] http://reclinejs.com/

rsnape commented 11 years ago

I have done this, but in Java, locally. See video output on my blog post to check if it's what you mean. (http://snapey.our.dmu.ac.uk/2013/10/04/pv-adoption-in-response-to-feed-in-tariff-a-video-visualisation-across-time-and-space/)

Would be interested in expanding it to something more generic and open if you're keen - it's very specific at the moment - reads a particular set of (open) data as described in the post, which I've put into a MySQL database. The java then sends date based queries at each time step and then alters the properties of each region. It some pretty unusual libraries to make it happen at the moment (just due to the project I've been working on). I see no reason why it couldn't be made far more generic.

davidmiller commented 11 years ago

@rsnape Yep, I'm talking about exactly that!

Except in a Web Browser and not necessarily reliant on any particular data backend :)

rsnape commented 11 years ago

OK - I'd like that too. I was rather constrained by the project and trying to expedite finishing my PhD. But definitely interested and happy to code etc. I'm new here - got to your idea via open prescribing website. I am not an expert in the browser end of things but will have a look at the JS libraries you link to and start thinking about it.