Changing line thickness on hover

Is there a simple way of changingthe hover interaction so whatever is hovered changes style?
For example, on a line chart with multiple lines, get the line hoverd over to change thickness?
A simple example would be greatly appreciated!