observablehq / observablehq/plot

Specify the min or max of a quantitative scale without specifying the whole extent

Open
#1,577 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Possibilities:

  • a min option and a max option.
  • support domain: [min, undefined] and domain: [undefined, max]
  • support domain as a function of the channels

min and max is more straightforward, but we'd have to decide what happens when people specify both a min and an explicit domain (a warning maybe?).

domain as a function opens lots of other possibilities (like custom “nicing”), which might be a pro or a con.

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.

Research direction

The issue does not identify a file, test, or entry point to inspect. First resolve whether partial extents use min/max options, undefined domain bounds, or a domain function, including how explicit domains interact with min and max. Done requires an agreed API and behavior before implementation can be scoped.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.