add a var to hold info on the idx graph to pass to d3