In HTML I would do this easily with a table, or with a flexbox.
However, this is being drawn into a SVG element, so i’m pondering the best way to handle the positioning.
<text> elements into a
I want the elements to take up no more than 75% of the height of the SVG, but the number of elements will vary. I do not worry about there being too many elements, but there may be anywhere from 1 to 40 of them.
What would be the best way to position these elements?