Skip to content

Commit

Permalink
Create enrollData.js
Browse files Browse the repository at this point in the history
2/3
  • Loading branch information
clarej12 authored May 22, 2024
1 parent 5dea908 commit 54e0cdf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions website/src/components/posts/CollegeAdmissions/enrollData.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const percentages = [
10.0, 12.0, 15.0, 14.0, 16.0, 19.0, 18.0, 20.8, 19.0, 20.0, 21.0, 19.0, 20.7,
21.2, 23.7, 23.6,
];

const numEnroll = [
195, 247, 279, 248, 342, 369, 409, 360, 406, 395, 461, 431, 426, 455, 469,
472, 497,
];
let year = 1988;
const data = percentages.map((p) => {
year += 2; // years will range from 1990 to 2018
return {
name: year,
"percent of women enrolled": p,
};
});

export default data;

0 comments on commit 54e0cdf

Please sign in to comment.