observablehq / observablehq/plot

Color legends should display scale unknown & extremes when applicable

Open
#651 1 comment 2 reactions 1 assignee View on GitHub

@Fil is already working on this.

Since Jan 5, 2022.

enhancement
Dominant language
HTML
Stars
5.4k
Forks
244
PR merge metrics
No merged PRs in 30d

Description

The color legends should display the unknown color if it is set, possibly with an unknownLabel that default to "unknown" (or "N/A", "invalid"?)

Note that if d3.scale adds scale.high / scale.low (or under/over, or extremes…) #258, these parameters should also be shown in the legends if they are set.

H/T @ananya-roy

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.