shiny - Making D3.js request JSON data to server.R and passing back data -
i trying front-end ui built d3 talk server.r , json file read instead of static csv done , working.
just can't find way it. currently, d3 portion of code reads csv (and works) looks this:
queue() .defer(d3.json, "us.json") .defer(d3.csv, "aggregatekeystonestates.csv", function(d) { dollarbyid.set(d.id, +d.dollar); textbyid.set(d.id, d.tooltiptext); }) .await(ready);
simply want pick json object instead server.r through input/output paradigm.
sorry, new stuff.
Comments
Post a Comment