This example, given by @mootari, where the right-most tip should have been chosen to anchor right:
Plot.rectX([1, 1, 1, 1, 1], {
x: Plot.identity,
fill: Plot.indexOf,
title: () =>
"Lorem ipsum lorem ipsum lorem ipsum Lorem ipsum lorem ipsum lorem ipsum Lorem ipsum lorem ipsum lorem ipsum",
tip: true
}).plot({ height: 100, marginTop: 20 })
This example, given by @mootari, where the right-most tip should have been chosen to anchor right: