alan-turing-institute / uatk-spc

Synthetic Population Catalyst
https://alan-turing-institute.github.io/uatk-spc/
MIT License
20 stars 12 forks source link

Explore options for a UI to explore data #19

Open dabreegster opened 2 years ago

dabreegster commented 2 years ago

See location of people or buildings, click a person to see their attributes and their travel behavior, click a building to see who goes there, etc. Also serve as more example code for how to work with SPC data.

Possible inspiration for handling O(million) people: https://observablehq.com/@kylebarron/geoparquet-on-the-web

mfbenitezp commented 2 years ago

What about Kepler I used to mapped some Covid data. Kepler

dabreegster commented 2 years ago

Somehow the Kepler link got broken, it's https://kepler.gl/demo/nyctrips for reference.

And sure! I threw together https://alan-turing-institute.github.io/uatk-spc/getting_started.html#example-draw-all-venues with plotly, but there's no interactivity. I haven't tried Kepler before. The two purposes are to help people understand the SPC data and to give example code for how to work with it.

mfbenitezp commented 2 years ago

Thanks. Let me see if I can pull up an example.

dabreegster commented 2 years ago

Ideas from @darribas: a lightweight viewer that can let the user explore a given .pb file. The ideal one would work on a browser client (i.e., no backend server), and take directly the URL of one of our .pb files, let the user check what they want to visualise (e.g., choropleth of population feature, mobility graph, etc.), and generate an interactive map with it

Some steps to building this:

mfbenitezp commented 2 years ago

Adding here another example (ONS) more align to the vision I have for the explorer/viewer tool that can be the next stage of SPC for more public engagement and explore the usability of the tool. https://www.ons.gov.uk/visualisations/censuspopulationchange/

dabreegster commented 1 year ago

I'm now confident with my basic web dev skills to look at starting this. But I think it'd be a useful exercise to start from a design mockup of what this app should do and how it should look / flow. @mfbenitezp, want to co-design this next week when you're in town? We can whiteboard what questions people could answer with it and sketch out how it should work, then I can use the JS / leaflet bits I've been learning to prototype it.

darribas commented 1 year ago

This sounds like a great theme to brainstorm on also for the SPC session on Wednesday?

On Mon, 1 Aug 2022 at 11:29, Dustin Carlino @.***> wrote:

I'm now confident with my basic web dev skills to look at starting this. But I think it'd be a useful exercise to start from a design mockup of what this app should do and how it should look / flow. @mfbenitezp https://github.com/mfbenitezp, want to co-design this next week when you're in town? We can whiteboard what questions people could answer with it and sketch out how it should work, then I can use the JS / leaflet bits I've been learning to prototype it.

— Reply to this email directly, view it on GitHub https://github.com/alan-turing-institute/uatk-spc/issues/19#issuecomment-1201017002, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADF4UZYDLHKE7DEFICPG23VW6RJNANCNFSM5T5HZZQA . You are receiving this because you were mentioned.Message ID: @.***>

--

Dani Arribas-Bel, PhD. (He/him) Url: darribas.org

Deputy Programme Director, Urban Analytics ESRC Fellow Alan Turing Institute @.***

Senior Lecturer in Geographic Data Science Department of Geography and Planning University of Liverpool (UK) @.***

dabreegster commented 1 year ago

https://mapmaker.cdrc.ac.uk/#/access-healthy-assets-hazards?m=ah3ahah_pc&lon=-1.5624&lat=51.5302&zoom=7.9 as an example

dabreegster commented 1 year ago

Ideas from Hadrien in Slack:

So there should be a selection pane on the left to check a topic and scale and then when you scroll over an area it shows a bunch of probability distribs and mean values. Then there should also be a flow category that draws the flows of a type checked, in particular a dynamic mode that follows some individuals (or sum for a few OAs) with a representation of time (say colour for type, thickness for number of people if sum / OA, time to draw with 1s = 1h, or just thickness for time if individuals) as it will be able to change each day

dabreegster commented 1 year ago
dabreegster commented 1 year ago

More convenient than digging through Slack everytime: https://fernando748264.invisionapp.com/freehand/SPC---AIUK-Wireframe-gwUP2BDve?dsid_h=94d7351172027cb9227fb5b6c9a366d7c3f57a5cddd7256e3e4d9c11c04ea594&uid_h=484eb32ebdb5e2edc7f73f888263587fc888e912fae5c6ce990fdf5d2297804b Going to export a PDF ASAP, because they're having an outage right now

dabreegster commented 1 year ago

Copying notes for visualizing time-use from @HSalat Slack:

screenshot__18_