From the course: R: Interactive Visualizations with htmlwidgets
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Modify tooltips in Highcharter - R Tutorial
From the course: R: Interactive Visualizations with htmlwidgets
Modify tooltips in Highcharter
- [Instructor] Highcharter provides us a lot of flexibility in the customization of tooltips. Tooltips are the pieces of information shown to you when you hover your cursor or your finger over markers or a series within a highcharter chart. It does, however, quickly become fairly advanced and might require some basic experience in JavaScript. Let's look at simple things first, so let's open up bar-chart.R and see what we have here. Let's decrease the size of the environment, because I don't need it for now. At the top of the script file, we load the tidyverse library on line one, which I'll do with command enter, and then, on line two, we load the highcharter library as we're going to create highcharter charts. I do that with command enter. Now, every time you load the highcharter library, you get a message reminding you, highchart is not free for commercial or governmental use. On line four, we use read_csv to import our CSV file and store it against the variable gig-economy-data…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
What is the Highcharter library?7m 29s
-
Create interactive stacked bar charts5m 52s
-
Create interactive scatter charts and bubble charts7m
-
Create interactive time series6m 8s
-
Create interactive treemaps4m 38s
-
Create interactive choropleth maps9m 59s
-
Specify your own colors4m 34s
-
Modify tooltips in Highcharter6m 11s
-
Extract click information from Highcharter9m 27s
-
-
-
-