D3 Calendar View Using Associative Array
I want to create a Calendar View Like this example: http://bl.ocks.org/4063318: Actually i am trying to modify it. I have an associative array like this: #AdminCourt[['2012-10-02'
Solution 1:
Here Is The Solution For Number 1 and 2 for those who has the problem similar to the ones i used to have. hope that will helpful.
The array Looks Like That: BigWordsDates2 = {"#Tahrir":[["2012-10-12",20],["2012-10-13",1],["2012-10-19",15]],"#Egypt":[["2012-10-01",3],["2012-10-03",2],["2012-10-04",3],["2012-10-07",1],["2012-10-10",1],["2012-10-13",2],["2012-10-14",1],["2012-10-15",1],["2012-10-16",1],["2012-10-17",4],["2012-10-19",5]]};
Save the Value that Your Targeted array Values you want like that: var tahrir = BigWordsDates2['#Tahrir']
and then overwrite the CSV Data with it. You can Find The example with solution in the jsfiddle below.
Post a Comment for "D3 Calendar View Using Associative Array"