Plotly hover

Hovering over a graph to learn more about your visualization is one of the best ways to aid interpretability, interactivity, and engagement. Fortunately, plotly provides us with a wide variety of functionality to improve the user experience when interacting with a graph.


For this section, we will use an employee attrition dataset detailing important employee attributes such as age, attrition status, department, job satisfaction, perceived levels of work-life balance, and more.

Let’s begin by printing out some of the data to inspect ourselves:

Get hands-on with 1400+ tech skills courses.