From the course: Interactive Dashboards with Plotly and Dash

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Adding annotations

Adding annotations

- [Instructor] Let's take a quick look at how to add annotations, AKA text to our visuals. And this is something that's going to be more common in static visualizations where we're presenting key findings and really want to drive the story ourselves as an analyst, and interactive dashboards, these are going to be less commonly used because users are going to be sorting and filtering data and hovering over the points of interest themselves. They might ask you questions later, and then you might need to produce a static visual to summarize to a larger group. But the add annotation methods lets us call out key data points and charts. And it also allows us just to add text to a chart, which could be helpful in an interactive dashboard if we want to explain a metric or any nuances the data might present. But to do so, we're going to add annotation. We're passing in the tech state budget crisis, X and Y coordinates are going to be aligned with the scales of our X and Y axes. So we want to…

Contents