Bar chart updating with node select