biocore / biocore/empress

Highlight a category in the legend when clicking on a tip / clade / barplot

Open
#378 0 comments 0 reactions 0 assignees View on GitHub
barplots feature request nice to have
Dominant language
JavaScript
Stars
56
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Idea from @justinshaffer.

In terms of implementation, I guess this'd just involve 1) figuring out what legends are active and 2) which the current tip / clade / barplot is applicable to? And then mapping the selected tip to its category in these legends. Not sure how easy that will be -- we may need to store more information in each `Legend` object or something to make this easier.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how clicks on tips, clades, and barplots identify the selected item, then inspect how active Legend objects expose their categories. Determine how the selected item maps to applicable legends; done means clicking any supported item highlights its category in every relevant active legend.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.