Prototype for generic svg, plain, and axis