Update interactivity to d3.js plots. Streamlining input of points and data.