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

New Default Small-C Categorical View #488

Closed
alexsb opened this issue Nov 5, 2021 · 0 comments
Closed

New Default Small-C Categorical View #488

alexsb opened this issue Nov 5, 2021 · 0 comments
Labels
type: feature New feature or request

Comments

@alexsb
Copy link
Contributor

alexsb commented Nov 5, 2021

Using colors for distinguishing categories in a single color comes with a host of problems. Hence, we should not do this by default. Instead, we should use the following visualization for categorical numbers with a small (<30) number of categories:

image

  • Each category is represented by a "column". If an element is of that column, the cell is filled in with a lightish gray.
  • The histogram bar in the header is aligned with the column.
  • Hovering the bar in the histogram highlights all the elements of the category.
  • The label uses a white stroke to make sure that the text is still readable even when it intersects with a filled in cell.

See also the Figma sketch for alternatives.

@alexsb alexsb changed the title New Default Small-N Categorical View New Default Small-C Categorical View Nov 5, 2021
@thinkh thinkh added priority: high fix it or we are all doomed type: feature New feature or request and removed priority: high fix it or we are all doomed labels Nov 16, 2021
@sgratzl sgratzl closed this as completed in c1490fd Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants