From 9e007b7ec58ba8276067167e5b7582eb2bd4f044 Mon Sep 17 00:00:00 2001 From: ylesia-wu <130006120+ylesia-wu@users.noreply.github.com> Date: Tue, 20 Feb 2024 16:31:58 -0800 Subject: [PATCH] Update App.svelte --- src/components/App.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/App.svelte b/src/components/App.svelte index c515eee..26e24ea 100644 --- a/src/components/App.svelte +++ b/src/components/App.svelte @@ -116,8 +116,8 @@ avgValue = 30.69; } else if ((selectedData === notDistracted) | (selectedData === notDistractedSorted)) { currentData = notDistractedSorted; - y_label = 'Drivers Involved In Fatal Collisions Who Were Not Distracte (%)'; - subtitle = 'Drivers Involved In Fatal Collisions Who Were Not Distracte (%) in 50 US States'; + y_label = 'Drivers Involved In Fatal Collisions Who Were Not Distracted (%)'; + subtitle = 'Drivers Involved In Fatal Collisions Who Were Not Distracted (%) in 50 US States'; avgValue = 85.92; } else if ((selectedData === noPrevious) | (selectedData === noPreviousSorted)) { currentData = noPreviousSorted; @@ -145,8 +145,8 @@ avgValue = 30.69; } else if ((selectedData === notDistracted) | (selectedData === notDistractedSorted)) { currentData = notDistracted; - y_label = 'Drivers Involved In Fatal Collisions Who Were Not Distracte (%)'; - subtitle = 'Drivers Involved In Fatal Collisions Who Were Not Distracte (%) in 50 US States'; + y_label = 'Drivers Involved In Fatal Collisions Who Were Not Distracted (%)'; + subtitle = 'Drivers Involved In Fatal Collisions Who Were Not Distracted (%) in 50 US States'; avgValue = 85.92; } else if ((selectedData === noPrevious) | (selectedData === noPreviousSorted)) { currentData = noPrevious; @@ -222,7 +222,7 @@ - Average: {avgValue} + Average: {avgValue}