observablehq / observablehq/plot
Custom format for the crosshair mark?
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 244
- PR merge metrics
- No merged PRs in 30d
Description
The crosshair mark doesn’t currently provide an option to control how the values are formatted. The text channel in constructed using an initializer. Maybe it needs a format option, but we’d need separate options for x and y?
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 crosshair mark implementation and inspecting how its text channel is constructed with an initializer. Clarify whether separate x and y formatting options are needed; the work is done when the chosen API supports custom formatting for both values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- d3
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100