Interactive Dashboards with Shiny
Adding Tooltips to a Plotly Plot
This lesson is called Adding Tooltips to a Plotly Plot, part of the Interactive Dashboards with Shiny course. This lesson is called Adding Tooltips to a Plotly Plot, part of the Interactive Dashboards with Shiny course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
Add more aesthetics to your ggplot aes()
statement in the plotly/assignment_03/app.R
file, such as movie_title="title"
.
Make sure that your app runs and that you can see the tooltip popup.
Have any questions? Put them below and we will help you out!
Course Content
26 Lessons
You need to be signed-in to comment on this post. Login.
Kelly Stenhoff • April 28, 2025
When I add the aesthetic 'lead = lead_actor_actress' I get the following error message: 'Error: input string 24 is invalid in this locale'. However, the other variables seem to work. What could be causing this error?
David Keyes Founder • May 2, 2025
What are the values for
lead_actor_actress
? From some quick Googling, this appears to be related to character encoding (e.g. using characters from, say, Chinese). Any chance that's what's going on here?Ted Laderas • May 9, 2025
Yes - sorry I didn't get this notification. The chinese characters in
lead_actor_actress
are causing this. I will look into a fix