Use <marker> SVG element

My demo: https://observablehq.com/@shreshthmohan/engineering-drawing-style-dimension-lines-using-the-marke

  • Use Observable's embed feature