observablehq / observablehq/plot
Stack order by z, but respecting the color scale’s domain
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 244
- PR merge metrics
- No merged PRs in 30d
Description
Currently order: "z" always uses natural order, but when "z" corresponds to the fill channel, it’d be nice if it could use the color scale’s domain as the order.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation of z ordering and the fill color scale. Compare the current natural-order behavior with the scale domain; done means z ordering follows that domain when z maps to fill, without changing other z ordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- d3
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100