I'd like to be able to provide URLs to access different views of visualizations that I've created. For example, some of the visualizations change for each year or for each variable. When the user changes the year or the variable depicted, I'd like to update the URL. For example, from
index.html?year=1790&variable=population
to
index.html?year=1820&variable=populationdensity
Then, when a visitor comes to one of those URLs, to initialize the visualization using the query string.
Perhaps I'll have to write this myself, but has anyone done something similar or have sample code for how to do this?