I think its not clear what you were initially after.

Agreed. The real problem is trying to fit diagrams into spaces that have a different aspect ratio to the one defined by the viewBox attribute. I’ll edit the post to reflect this. Thanks for pointing it out.

Like what you read? Give Mahesh Senniappan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.