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

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

wso2esb - How to concatenate JSON array values in WSO2 ESB? -