Introduction to Data Visualization with Julia
Gustavo Vieira Suñe
Data Analyst

using PkgPkg.add("Plots")
using Plots
using CSV, DataFrames using Plots# Load dataset fund = DataFrame(CSV.File("fund.csv"))# Plot prices over time plot( # Values in x-axis fund.price_date, # Values in y-axis fund.open, )

using CSV, DataFrames using Plots # Load dataset fund = DataFrame(CSV.File("fund.csv"))# Plot open and close prices scatter( # Values in x-axis fund.open, # Values in x-axis fund.close, )

# Plot open and close prices scatter( fund.open, fund.close,# Add title title="Intraday Price Movement",# Add axis labels xlabel="Opening Price (USD)", ylabel="Closing Price (USD)", )

Line plots
plot(x, y)
Scatter plots
scatter(x, y)
title="My title", xlabel="My x-label", ylabel="My y-label"
Introduction to Data Visualization with Julia