From f48c1213243c4335b5599cbf0fb4ea4cbfbb9d86 Mon Sep 17 00:00:00 2001 From: Kyle Belanger Date: Wed, 31 Jul 2024 08:49:03 -0400 Subject: [PATCH] add histogram --- LearnJulia/src/JFDA.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/LearnJulia/src/JFDA.jl b/LearnJulia/src/JFDA.jl index 2130dc2..f6724ee 100644 --- a/LearnJulia/src/JFDA.jl +++ b/LearnJulia/src/JFDA.jl @@ -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"]]...) \ No newline at end of file