Session Ready
Exercise

Adding to hoverinfo

During the video lesson, you learned how to fully customize the hover info displayed by plotly. This is a great approach, but what if you only want to quickly add an identifying column rather than polish your chart for publication on the web? This is possible by adding the text argument to the plot_ly() command without specifying hoverinfo = "text".

plotly has already been loaded for you.

Instructions
100 XP
  • Create a scatterplot of user score against critic score for video games sold in 2016.
  • Map the name of a video game to the text argument in the plot_ly() layer to add it to the hover info.