Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions sites/mainweb/assets/Data/demographics.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* INPUT EITHER THE NUMBER OF DATA OR THE PERCENTAGE (IF PERCENTAGE, MUST ADD UP TO 100 OTHERWISE IT WILL DISPLAY AS 'X (Y%)' THINKING IT IS NUMBER)
*/

export const ClassData = {
labels: [
"1st year",
Expand Down Expand Up @@ -33,15 +29,15 @@ export const MajorData = {
"Computer Science",
"Industrial Engineering",
"Other Engineering",
"Anaytics",
"Analytics",
"Mathematics",
"Business Administration",
"Other",
],
datasets: [
{
label: "Major Demographics",
data: [62.6, 9.86, 8.25, 8.65, 3.02, 2.41, 5.21],
data: [60.1, 17.9, 11.1, 3.13, 3.42, 2, 1.1],
backgroundColor: [
"#88CDC5",
"#3D7990",
Expand All @@ -54,4 +50,4 @@ export const MajorData = {
hoverOffset: 4,
},
],
};
};
Loading