allow me to recommend a piece of software that I am very happy paying $10/year for: Boxy SVG
It is the answer to the age old question: what if visually editing SVGs was intuitive and produced absolutely no junk markup
(I have no affiliation, this is not me selling something, I just like the software, it's free for most of what you want to do but $10/year for "pro" features)