layerchart
layerchart copied to clipboard
Label positioning
- [ ] 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
- https://observablehq.com/@fil/occlusion
- [x] End of line
- https://observablehq.com/@observablehq/plot-select
- https://www.layerchart.com/docs/components/Spline#label-using-start/end-slots
- https://www.layerchart.com/docs/components/Points
- https://observablehq.com/d/09bc6dde0874a6ce
- [ ] Force based (related: #58)
- https://observablehq.com/@benoldenburg/nyc-transit-fare-increase-history
- https://observablehq.com/@benoldenburg/force-labels-method
- [ ] Stretched polylabel
- https://observablehq.com/@mourner/labeling-with-stretched-polylabel
See also:
- https://github.com/observablehq/plot/issues/27