This is probably a problem in my colorbar.js. When I am transitioning between two instances of colorbar, the exiting chunks don't appear to get removed before the transition ends and the next one start.
I have found that adding a delay of 1000 allows the remove to finish before the next tick starts. Though I have also noticed that the problem is intermitent (with delay of 0).
Ideas? Can anyone spot my bug? You may have to refresh the page a few times to catch it.
bar, bar.enter() and bar.exit() selections are in the console.
Modified http://d3js.org/d3.v2.min.js to a secure url
https://d3js.org/d3.v2.min.js