Introduction to Data Visualization with Julia
Gustavo Vieira Suñe
Data Analyst
using StatsPlots
boxplot( # Categories in x-axis kerala[:, :Commodity], # Values in y-axis kerala[:, :Price],
color=:darkorange, label=false, ) ylabel!("Price (Rupees)")
using StatsPlots boxplot( # Categories in x-axis kerala[:, "Commodity"], # Values in y-axis kerala[:, :Price], color=:darkorange, label=false,
# Hide outliers outliers=false,
) ylabel!("Price (Rupees)")
# Create violin plot violin( # Categories in x-axis kerala[:, :Commodity], # Values in y-axis kerala[:, :Price],
# Remove lines linewidth=0,
color=:darkorange, label=false, ) ylabel!("Price (Rupees)")
Introduction to Data Visualization with Julia