generated from uclaacm/teach-la-react-starter-barebones
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2/3
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
website/src/components/posts/CollegeAdmissions/enrollData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |