I was probably a bit vague. An example. I have a simple line chart which on a desktop goes from left to right as you would expect it. On mobile devices this chart is rendered unreadable, so I decide to flip the x- and y-axis'.
So I basically need to do 2 things here: Manipulate the height and width atrributes of the svg and then make the drawing inside the svg dependent on the screen size. I guess this is doable if you put the time and effort into it, but I was wondering if there is some established "easier" way.