In the past, when I wanted to create a dynamic chart I\'d create my data in a php file then pass those results to d3.json on the page containing my chart. I\'m revising an