Label positioning
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 41
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 16
Description
- Voronoi placement
- https://observablehq.com/@harrystevens/directly-labelling-lines
- https://observablehq.com/@d3/voronoi-labels
- https://observablehq.com/@fil/plot-voronoi-labels
- https://observablehq.com/@d3/voronoi-labels
- https://observablehq.com/@john-guerra/smart-labels
- Also only consider showing labels which have enough room in voronoi container
- Hide if covered / occlusion
- End of line
- Force based (related: #58)
- Stretched polylabel
- Smart line chart place (like Tableau)
- Dodging
- Subsampling
See also:
Contributor guide
No contributing guide indexed for this repository
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 reviewing the remaining force-based, stretched-polylabel, and subsampling items, along with related issues #58 and Observable references in this issue. Determine which label-positioning strategies are in scope and how they fit the existing chart components; done means the selected strategies are implemented and labels avoid the listed overlap and space problems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- d3, typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100