first stab at generating SVG charts