marcolarosa/pdsc-olac-visualisation

Rejig the workflow to choose country to display

Opened this issue · 4 comments

Loading all of the data onto the map is slow and requires clustering to be enabled. Change the flow to be:

  • choose country to display
  • draw only the pins for that country without clustering
  • augment analyse to modify the current data set based on which resource types are selected.

This means there will be no ability to draw all of the pins for all countries at once. A user will only ever be able to select one country at a time.

@nthieberger This is something we discussed at the last face to face that I've only just gotten around to documenting. Does this make sense to you? Are you sure you want the app to work this way?

Here's an example that must use a similar js dataset and is slow : http://glammap.win.tue.nl/glottovis#d/glottovis

but they have a slider indicating progress. I admit that I don't like the waiting time and would skip to another page

I wonder if it is possible to generate a static image of the world map with all icons on it once a day and present that as the opening screen with a prompt to click on a country to see more details?

I think I put the emphasis on the wrong thing. The proposed update was based on the idea that most of the time most users will only want to see the country they're interested in. Given that, if we rejig the app in this way we get an app that initialises more quickly and we can ditch the clustering as the number of pins to draw will naturally be limited to a smallish set in most cases.

900 for papua new guinea. But yes, this sounds like it could work better, thanks.

Smallish set most of the time :-) 900 without clustering is far better than 7500 without clustering.

As for the slider idea, the slow part currently is the generation of the popups that tie the map JS library back in to the Angular framework. I haven't been able to mitigate that with anything Ive tried unfortunately.