chart with svg working