Edit blurbs + Change minor data formatting
continuous-integration/drone/push Build is failing Details

This commit is contained in:
e26chiu 2022-12-06 22:27:12 -05:00
parent 3fb136fd1a
commit 566f3473bb
2 changed files with 57 additions and 38 deletions

View File

@ -103,43 +103,43 @@ export const L6 = [
value: 4,
},
{
category: "Monthly",
value: 7,
},
{
category: "Never",
value: 41,
},
{
category: "Once every few months",
value: 43,
category: "Weekly",
value: 6,
},
{
category: "Once every few weeks",
value: 3,
},
{
category: "Weekly",
value: 6,
category: "Monthly",
value: 7,
},
{
category: "Once every few months",
value: 43,
},
{
category: "Never",
value: 41,
},
];
export const L7 = [
{
category: "Agree",
value: 43,
category: "Strongly agree",
value: 9,
},
{
category: "Disagree",
value: 26,
category: "Agree",
value: 43,
},
{
category: "Neither",
value: 19,
},
{
category: "Strongly agree",
value: 9,
category: "Disagree",
value: 26,
},
{
category: "Strongly disagree",
@ -148,29 +148,25 @@ export const L7 = [
];
export const L8 = [
{
category: "Almost every week",
value: 12,
},
{
category: "Couple times per month",
value: 36,
},
{
category: "Rarely",
value: 35,
category: "Monthly",
value: 2,
},
{
category: "Holidays only",
value: 18,
},
{
category: "Almost every week",
value: 12,
},
{
category: "Once a month",
value: 1,
},
{
category: "Monthly",
value: 1,
category: "Rarely",
value: 35,
},
];
@ -683,7 +679,6 @@ export const L18 = [
category: "MC",
value: 23,
},
{
category: "Res",
value: 16,
@ -727,4 +722,4 @@ export const L19 = [
category: "Yes",
value: 22,
},
]
];

View File

@ -54,7 +54,7 @@ export default function Demographics() {
<ComponentWrapper
heading="Did you move back home during the beginning of COVID-19?"
bodyText="The vast majority of respondent did move back home during the beginning of Covid, which makes sense given the situation. "
bodyText="The vast majority of respondents did move back home during the beginning of Covid, which makes sense given the situation. "
>
<div className={styles.graphContainer}>
<PieChart data={L1} {...pieChartProps(isMobile, pageWidth)} />
@ -65,6 +65,7 @@ export default function Demographics() {
heading="Have many doses of COVID-19 vaccination have you gotten?"
bodyText="Complete proof of vaccination used to be a requirement for entering campus, unless there are special circumstances. Here, we can see that everyone except for 2 people had 2 or more doses. The large majority had 3+ doses."
align="right"
noBackground
>
<div className={styles.graphContainer}>
<PieChart data={L2} {...pieChartProps(isMobile, pageWidth)} />
@ -75,13 +76,18 @@ export default function Demographics() {
heading="How did your outlook on religion change during university?"
bodyText="Interestingly, most of our respondents were never religious."
>
<BarGraphVertical data={L3} {...barGraphProps(isMobile, pageWidth)} />
<BarGraphVertical
data={L3}
{...barGraphProps(isMobile, pageWidth)}
lowerLabelDy="0"
/>
</ComponentWrapper>
<ComponentWrapper
heading="Did you learn how to cook during university?"
bodyText="Only 12 people indicated that they have not learned to cook. As for the rest, more stated that they learned to cook during university rather than before. This could correlate to university being the first time that many students move out from their parent/gardians place."
align="right"
noBackground
>
<div className={styles.graphContainer}>
<PieChart data={L4} {...pieChartProps(isMobile, pageWidth)} />
@ -92,7 +98,11 @@ export default function Demographics() {
heading="How many days are you physically active in a week now?"
bodyText="Its nice to see that most Waterloo student are active at least a few days a week! CS is an especially sedentary major so its important to stay active and take care of your bodies."
>
<BarGraphVertical data={L5} {...barGraphProps(isMobile, pageWidth)} />
<BarGraphVertical
data={L5}
{...barGraphProps(isMobile, pageWidth)}
lowerLabelDy="0"
/>
</ComponentWrapper>
<ComponentWrapper
@ -115,6 +125,7 @@ export default function Demographics() {
heading="How often did you attend parties/gatherings?"
bodyText="A lot of students attend social events to relieve some stress and build relationships. Many Waterloo students our no exception. Although we are not know for our parties, they can still frequently be found in residence areas around campus."
align="left"
noBackground
>
<BarGraphHorizontal
data={L8}
@ -136,6 +147,7 @@ export default function Demographics() {
heading="How many hours of sleep do you get on average per night?"
bodyText="Although many of our respondents sleep late, most people are getting 7+ hours every night. Our class schedules are typically somewhat flexible and morning classes are usually not super popular amoung students."
align="left"
noBackground
>
<BarGraphVertical data={L10} {...barGraphProps(isMobile, pageWidth)} />
</ComponentWrapper>
@ -150,7 +162,7 @@ export default function Demographics() {
<ComponentWrapper
heading="What is your favourite restaurant to go to on/around campus?"
bodyText="With all the diverse restaurant around campus, it seems like the most popular choices of food are sushi, noodles, and shawarma."
bodyText="With all the diverse restaurant around campus, it seems like the most popular choices of food are sushi, noodles, and shawarma (Lazeez hehehe)."
noBackground
>
<WordCloud
@ -179,8 +191,13 @@ export default function Demographics() {
<ComponentWrapper
heading="How many side projects have you completed during university, if any?"
bodyText="Students invest time into side projects to show companies their software experiences and skills. Building side projects is a great way to compensate for lack of actual work experience. Many of our respondents are shown to have completed a few side projects, however, a large amount of them have indicated that they have not down any at all. This shows that side projects are not the only factor to landing a job."
noBackground
>
<BarGraphVertical data={L14} {...barGraphProps(isMobile, pageWidth)} />
<BarGraphVertical
data={L14}
{...barGraphProps(isMobile, pageWidth)}
lowerLabelDy="0"
/>
</ComponentWrapper>
<ComponentWrapper
@ -196,6 +213,7 @@ export default function Demographics() {
<ComponentWrapper
heading="Which extracurricular activities (e.g., design teams, sports, intramurals, clubs, societies) did you participate in? "
bodyText="Many of our respondents are involved with one or more extracurricular activities during university. These include sports, clubs, societies, and more."
noBackground
>
<WordCloud
data={L17}
@ -212,12 +230,18 @@ export default function Demographics() {
bodyText="The most popular study locations according to our respondents are the Mathematics & Computer Building (MC) and the William G. Davis Computer Research Centre (DC), each having 23 and 22 votes respectively. Other popular places include on residence, QNC, and E7."
align="right"
>
<PieChart data={L18} {...pieChartProps(isMobile, pageWidth)} />
<BarGraphHorizontal
data={L18}
width={barGraphWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight}
margin={{ ...barGraphMargin, ...{ left: 50 } }}
/>
</ComponentWrapper>
<ComponentWrapper
heading="Have you done a URA (Undergraduate Research Assistantship)?"
bodyText="URA provide students with the opportunity to gain research experience, usually with a professor, while earning some money."
noBackground
>
<PieChart data={L19} {...pieChartProps(isMobile, pageWidth)} />
</ComponentWrapper>