From 3f6d65fc68cb0b584535c1e632de0223c55abe95 Mon Sep 17 00:00:00 2001 From: Jacob Louis Hoover Date: Tue, 25 Jan 2022 13:00:19 -0500 Subject: [PATCH] histogram width divide by mode, not total Divide by the value that occurs the most frequently, instead of the total games, so the histogram always uses the whole space available, rather than possibly getting smaller and smaller the more games are played. --- src/components/stats/Histogram.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/stats/Histogram.tsx b/src/components/stats/Histogram.tsx index 5f3aca7..1d6e1e5 100644 --- a/src/components/stats/Histogram.tsx +++ b/src/components/stats/Histogram.tsx @@ -14,7 +14,7 @@ export const Histogram = ({ gameStats }: Props) => { ))}