From 1768a4bbd9719151fb6ba2a73b4f44b2e6c40dad Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Fri, 23 Aug 2024 18:31:05 -0700 Subject: [PATCH] changed scale y --- app/assets/javascripts/activityChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/activityChart.js b/app/assets/javascripts/activityChart.js index da9c65e38..19d8bcc49 100644 --- a/app/assets/javascripts/activityChart.js +++ b/app/assets/javascripts/activityChart.js @@ -64,7 +64,7 @@ .padding(0.1); // Adjust the y-axis domain to add some space above the tallest bar const maxY = d3.max(deliveredData.map((d, i) => d + (failedData[i] || 0))); - const y = d3.scaleLinear() + const y = d3.scaleSqrt() .domain([0, maxY + 2]) // Add 2 units of space at the top .nice() .range([height, 0]);