I\'m trying to build a graph that dynamically gets updated on click using d3.js and flask. But I\'m having trouble passing json from d3.js to flask. I need to pass a json fr