Is there a way to flip the SVG coordinate system so that [0,0] is in the lower left instead of the upper left?
Yes, a coordinate rotation of -90 followed by a translation of + the height of your new figure should do it. There is an example at W3C.