kkowalsky / yourbodynotyourchoice

0 stars 1 forks source link

Have colors change dynamically for chart #60

Closed tolomaps closed 9 years ago

tolomaps commented 9 years ago

Choropleth function won't work for the chart because the data structure is different (I'm passing it the timelineFeatureArray rather than the joinedJson)

kkowalsky commented 9 years ago

check out how i did it for the menu.

tolomaps commented 9 years ago

@kkowalsky let's take a look at this together later today... I don't think I can use the regular choropleth function because of the way that I had to deal with the data to create the chart. As Carl pointed out, I needed to create a new feature array to account for states that have laws that change twice (in other words, states that will have 2 squares drawn for them instead of just 1).