View Single Post
Old 10-30-2012, 07:51 PM   PM User | #1
pcproff
New Coder

 
Join Date: Nov 2006
Posts: 71
Thanks: 12
Thanked 0 Times in 0 Posts
pcproff is an unknown quantity at this point
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!

Last edited by pcproff; 10-30-2012 at 07:54 PM.. Reason: change of wording
pcproff is offline   Reply With Quote