Using on() at transitions' start and end

Click on this text to update the chart with new data values as many times as you like!