Use multipledispatch to cleanup the SVG rendering code / make it easier to add new axes / marks in the future.