svg-math-graphics is a class that can render a math formula as a SVG vectorial chart. It takes a string with a math formula and creates a chart on which it draws a set of lines between consecutive points for the axes. The class returns the chart data in SVG format. The size of the chart and the size of the steps between each point in the chart are configurable parameters. You can draw functions in Cartesian or polar coordinates.