CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   DOM and JSON scripting (http://www.codingforums.com/forumdisplay.php?f=15)
-   -   Loading JSON object into D3 and changing values with a slider (http://www.codingforums.com/showthread.php?t=280136)

pcproff 10-30-2012 07:51 PM

Loading JSON object into D3 and changing values with a slider
 
Hi all,

I have a JSON object that I want to load for D3 to use. Statically it works, it populates the graph perfectly. Now with jquery I want to load and asynchronously change two values in that object with a slider.


Code:

{
  "baseball_players": {
      "year": '1999',
      "stat": 'RBI'
      }
}

Also do I add this to the d3.json or the jquery function? Thanks!


All times are GMT +1. The time now is 06:29 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.