svg { margin: 20px; } <svg viewBox="0 0 100 100" width="350px" height="70px" preserveAspectRatio="none" transform="scale(1,-1)"> <path d="M 0,0 L 20,90 L 40 10 L 70 10" fill="none" stroke-linecap="round" stroke="#886ce6" stroke-width="5px"/> </svg> how do i make the edge of the line rectangular? The lines also have different widths. Maybe this is obvious, but how to avoid it? svg for me is still poorly familiar just