@tobwen have you seen https://observablehq.com/@harrystevens/directly-labelling-lines
Thanks. I know this concept from cartography. Perhaps I can get it to work in my charts.
selection.node().getBbox()
on them the bounding box returned is only gonna be for a single element, can anyone confirm if my understanding correct here? (In other words, one has to come up with his/her own algo to compute composite bounding box)
selection.nodes()
returns all nodes
join()
is defined a way so that it cannot return SVGGElement even if you pass it: join('g').
this
(i.e. they aren't pure functions)?
attrs()