1. Introduction

Exegetic Analytics is a Data Science consultancy specialising in data acquisition and augmentation, data preparation, predictive analytics and machine learning. Our services are used by a range of industries from Education to Security, Food Delivery to Politics. Our consultants are based in Durban and Cape Town and we engage with clients all over the world. Our products and services are used by a multitude of industries including Aerospace, Education, Finance, Food and Transport.

Exegetic Analytics also offers training, with experienced and knowledgeable facilitators. Our courses focus on practical applications, working through examples and exercises based on real-world datasets.

All of our training packages include access to:

  • our online development environment and
  • detailed course material which participants will have continued access to even once the training has concluded.

For more information about what we do, you can refer to our website.

These are some of the companies who have benefitted from our trainning:

Take a look at our full list of courses to see what other training we have on offer.

Contact Us

If this proposal is of interest to you or you would like to hear more about what we do you can get in touch on or +27 (0)73 805 7439.

2. Course Description

This course will cover two libraries for creating visualisations with R:

  • ggplot2 — static and dynamic visualisations
  • plotly — interactive visualisations.


Duration 2 days
Who should attend? The course is aimed at students, academics and professionals who need to visualise data. It’s assumed that participants already have some familiarity with R.
Objectives Being able to communicate the results of an analysis is as important as doing the analysis itself. In this course you’ll learn how to use two R packages (ggplot2 and plotly) to create effective, visually pleasing and reproducible visualisations.
Outcomes Participants will be able to create static and animated visualisations with ggplot2 and interactive visualisations using plotly. They will also be able to customise the presentation characteristics of these visualisations.
Requirements Participants are assumed to have prior experience with R, ideally having completed both the the Introduction to R and Data Wrangling courses.

Return to our list of courses.

Course Outline

3. Course Outline

Day 1: ggplot2

The ggplot2 package has become the de facto standard for making plots in R. It’s possible to quickly put together a simple plot for exploratory purposes. However, with a bit of effort such a plot can be transformed into a work of art.

This course will introduce the basic components of ggplot2 and show how they can be combined to form sophisticated visualisations. We’ll then take a look at extensions for labelling points in congested scatterplots and producing animations.

  • Introduction
    • Grammar of Graphics
  • Components of a plot
    • Data
    • Aesthetics
    • Layers
    • Facets
    • Themes
  • Aesthetics
  • Layers
    • Points
    • Lines
    • Box and Violin plots
    • Histogram, Density and Bar plots
    • Smooth
    • Stats versus Geoms
    • Position
  • Facets
  • Scales, Legends and Coordinates
  • Themes
    • Builtin themes
    • Other themes
    • Customising
  • Extensions

Day 2: plotly

Plotly is an open source JavaScript library for creating interactive graphs and dashboards. In this course you’ll learn how to easily create sophisticated interactive visualisations from within R using Plotly.

  • Fundamentals
    • ggplot to plotly with ggplotly()
    • Online and offline plotting
  • Plot types
    • Scatter and Line plots
    • Box plots
    • Histogram and Bar plots
    • Heat maps and Contour plots
    • Polar plots
  • Interactivity
    • Hover information (tooltips)
    • Custom controls (buttons, selectors and sliders)
  • Style
    • Markers
    • Colour scales
    • Fonts
    • Legends
    • Axes
  • Maps
  • Combining plots
    • Sub-plots
    • Inset plots
    • Multiple axes
  • Dashboards
  • Animation
  • Exporting static images

Book now!

Training Philosophy

Our training emphasises practical skills. So, although you'll be learning concepts and theory, you'll see how everything is applied in the real world. We will work through examples and exercises based on real datasets.


All you'll need is a computer with a browser and a decent internet connection. We'll be using an online development environment. This means that you can focus on learning and not on solving technical problems.

Of course, we are happy to help you get your local environment set up too! You can start by following these instructions.


The training package includes access to
  • our online development environment and
  • detailed course material (slides and scripts).

Return to our list of courses.