add histogram

This commit is contained in:
Kyle Belanger 2024-07-31 08:49:03 -04:00
parent 24022893ba
commit f48c121324

View file

@ -4,9 +4,13 @@ using CSV
using DataFrames
using Plots
puzzles = CSV.read("puzzles.csv", DataFrame);
puzzlespath = joinpath("data", "puzzles.csv");
puzzles = CSV.read(puzzlespath, DataFrame);
show(describe(puzzles))# use to show summary stats
# 8.3.4 Quick Histogram
plot([histogram(puzzles[!,col]; label = col) for
col in ["Rating", "RatingDeviation", "Popularity", "NbPlays"]]...)