add dynamic graphing based on gridSVG