add interactivity to the line chart