Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show time slice when (only?) map is displayed #817

Open
jameshadfield opened this issue Oct 30, 2019 · 6 comments
Open

Show time slice when (only?) map is displayed #817

jameshadfield opened this issue Oct 30, 2019 · 6 comments
Assignees
Labels
enhancement New feature or request narratives issues / PRs relating to narrative functionality

Comments

@jameshadfield
Copy link
Member

The map was implicitly designed to be shown next to a tree. Thus when animating, you see the selected time slice moving though the tree & have a feeling for how time is progressing.

Now it's becoming common to display the map by itself, both while interacting with normal auspice and especially while in narrative mode. There should be some sort of visual indication of the currently selected time period during an animation (and perhaps outside of an animation also? To explore).

@jameshadfield jameshadfield added enhancement New feature or request narratives issues / PRs relating to narrative functionality labels Oct 30, 2019
@jameshadfield
Copy link
Member Author

I believe this is currently being worked on by Ian Johnson

@enjalot
Copy link

enjalot commented Mar 13, 2020

I've started mocking a solution for this issue in this notebook:
https://observablehq.com/@enjalot/nextstrain-prototyping-issue-817

I hope I captured the problem and illustrated a reasonable direction to go in. I'll continue to add to the notebook with prototypes that can be reviewed before I jump into the codebase.

@kenthuth
Copy link

Hi everyone! I'm working with enjalot on the solution outlined above. I wanted to share a few quick wireframe mockup concepts for a collapsible timeline that includes a legend and can provide additional context for the map. This timeline uses annotations to highlight starting dates for each clade.
covid-nextstrain-timeline-01

The second attachment features explorations of how to surface some of the data present in the expanded timeline.
covid-nextstrain-timeline-02

@enjalot
Copy link

enjalot commented Mar 22, 2020

I've put in a bit of work prototyping Kent's ideas, they aren't fully realized yet but some progress. You can see what the streamgraphs look like with real data, and the challenge we will face doing tooltips for divisions.

divisionstreams-tooltip

improvedsimplehisto

You can interact with them in the notebook.

@enjalot
Copy link

enjalot commented Apr 15, 2020

So @kenthuth and I have made some iterations on the prototype and I think it's time to start on a branch in auspice. We'd like to invite some feedback on what we have, and think that further considerations will be easier to make once we can see the legend in use (i.e. in a narrative, or in the main app with data filtered)

We are thinking that this stacked histogram:
Screen Shot 2020-04-15 at 2 59 22 PM

could be expanded on demand:
Screen Shot 2020-04-15 at 2 59 05 PM

And that tooltips are aggregated to Regions if the histogram is showing location data (such as Division or Country):
Screen Shot 2020-04-15 at 2 59 31 PM

@jameshadfield
Copy link
Member Author

Amazing. Will look at this today 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request narratives issues / PRs relating to narrative functionality
Projects
None yet
Development

No branches or pull requests

3 participants