Filter on button click D3.js?
- by user1461701
I'm working on a version of this bubble chart http://vallandingham.me/vis/gates/. As I'm using a different set of data - instead of the "All Grants" and "Grants by Year" buttons - I have one for 5 consecutive years - 2010, 2009 etc.
My opening graph depicts the data for 2010 which is achieved by filtering the data from the .csv file , which…