work in progress ading graph data to svg representation