Visualizing data

Introduction to Data Visualization with Julia

Gustavo Vieira Suñe

Data Analyst

Why should I plot?

  • Identify trends and patterns

  Three colored lines exhibiting a positive trend with comparable fluctuations.

  • Spot outliers

A box plot with a single box displaying data with outliers.

Introduction to Data Visualization with Julia

Why should I plot?

  • Convey uncertainty

  A line plot with an error ribbon.

  • Explore relationships A correlation matrix plot between age and BMI.
Introduction to Data Visualization with Julia

Table versus graph

  • Tables work with a few data points
Date Price (USD)
2020-01-02 178.35
2020-01-03 177.06
2020-01-06 178.19
2020-01-07 177.82
2020-01-08 179.29
... ...
2021-11-29 304.55
2021-11-30 299.88
  • Much data requires plotting

This line plot illustrates the relationship between the date and the price of a fund in USD, with a clear positive trend and a noticeable dip in March 2020.

Introduction to Data Visualization with Julia

Table versus graph

Fund Symbol Price (USD) Traded Volume (M)
IWF 178.35 1.68
IWF 177.06 2.04
SPY 324.87 59.2
SPY 322.41 77.7
QQQ 216.16 31.0
QQQ 214.18 27.5
VOO 298.42 3.14
VOO 296.24 3.25
... ... ...
  • Visualize categories

A scatter plot illustrating the relationship between traded volumes and prices of four funds, with each fund's data points forming distinct clusters.

Introduction to Data Visualization with Julia

A preview of our plotting journey

  A scatter plot showing the positive correlation between two different funds, with a regression line added.

  Plot showing average prices of tomatoes in India over months of the year. It shows that prices are higher from June to November.

Introduction to Data Visualization with Julia

A preview of our plotting journey

  A box plot showing the distribution of ages for different effects on mental health.

A correlation matrix plot between age and BMI.

Introduction to Data Visualization with Julia

Understanding our dataset

fund_symbol price_date open high low close volume
IWF 2018-01-02 135.34 135.99 135.0 135.97 2446200
IWF 2018-01-03 136.16 137.23 136.13 137.13 2129500
IWF 2018-01-04 137.66 138.0 137.56 137.7 1766500
IWF 2018-01-05 138.28 139.03 138.11 138.95 1866100
IWF 2018-01-08 138.89 139.44 138.85 139.34 1812800
Introduction to Data Visualization with Julia

Let's practice!

Introduction to Data Visualization with Julia

Preparing Video For Download...