biolab / biolab/orange3

Hierarchical Clustering: add legend for Color-by variable

Open
#6,864 0 comments 0 reactions 0 assignees View on GitHub
meal
Dominant language
Python
Stars
5.7k
Forks
1.1k
Avg merge
12d 2h
Merged PRs (30d)
1

Description

**What's your use case?**
If I select a variable in the Color-by drop-down menu, I would like to have a straightforward way to find out which color corresponds to which category or range of the selected numerical variable. Especially if there are a lot of categories or if the selected variable is numerical.

**What's your proposed solution?**
Add a legend, just like in Scatter Plot and many other widgets.

**Are there any alternative solutions?**
Add Color somewhere upstream, so that I can customize the colors and know which color corresponds to what. However, in the case of a numerical variable I still won't get insight into the discretization.
Or: add a dummy Scatter Plot, select the same variable for coloring there and check out the legend - which is rather awkward.

Contributor guide

Open the contributing guide

Research direction

Start at the Hierarchical Clustering widget and compare its Color-by handling with the legend in the Scatter Plot widget. Done means users can see which color maps to each category or numerical range, including the numerical variable's discretization.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.