Highcharter for Finance in R

Learn how to build dynamic, engaging, and interactive charts using the highcharter R package.

Start Course for Free
4 Hours16 Videos55 Exercises
4550 XP

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

As the financial industry becomes more quantitatively focused and sophisticated, data visualization is becoming an essential part of the quant tool kit. The ability to explore and explain data visually is what lets a quantitative analyst's work transcend traditional team silos and reach a broader audience. Highcharter empowers R coders to create engaging, dynamic charts without having to learn JavaScript and it's quickly gaining popularity in the financial world. In this course, you will create interactive plots of daily prices and returns of three well-known ETFs and tackle capstone challenges on commodities trading data.

  1. 1

    Introduction to Highcharter


    highcharter is an R package that lets us build beautiful interactive charts using the Highcharts JavaScript library. In this chapter, we will introduce highcharter by building interactive visualizations of OHLC stock market data and then looking at our data used for the rest of the course.

    Play Chapter Now
    Welcome to highcharter!
    50 xp
    ggplot2 versus highcharter
    50 xp
    Get familiar with the hchart() function
    100 xp
    Explore different hchart() plot types
    100 xp
    Two highcharter paradigms
    50 xp
    Drawing a blank or throwing an error
    50 xp
    Chart with the highchart paradigm
    100 xp
    Chart with the hchart paradigm
    100 xp
    Our data going forward
    50 xp
    Work with xts data
    100 xp
    Work with wide tibble data
    100 xp
    Work with tidy tibble data
    100 xp
  2. 3

    Highcharter for wide tibble data

    Tibble data, or data frames, are also a popular data format for financial time series. In this chapter, we will build more interactive line charts, but also explore scatter plots and regression lines for the daily returns of ETFs. By the end of the chapter, you will be ready to visualize the relationships between data stored in a wide tibble and even add model results to your charts.

    Play Chapter Now
  3. 4

    Highcharter for tidy tibble data

    Tidy tibbles and the tidyverse are becoming very popular and highcharter makes it fast to visualize and customize tidy data. In this chapter, you will learn how to quickly chart data as a line, a scatter plot and a column chart, and you will see how to get creative with including whatever data you wish as part of the tooltip.

    Play Chapter Now




Chester IsmaySara Billen
Team RStudio Headshot

Team RStudio

See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA