clicking on a state now triggers chart updates