Published
Edited
Dec 7, 2019
1 fork
Insert cell
md`# Program Data: Psychology
These charts examine if schools' enrollment or grade-completion rates is connected to social programs. Specifically this file examines the psychologist program.

We're unfortunately limited to data from the years 2014-2016. For our context, schools that "added" a program adopted it in 2015, and "removed" dropped the program in 2015, and we can see that decision continued in 2016.`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
grade1data = getAveragesForGrade(1);
Insert cell
c3({
data: {
x: "Year",
columns: [
["Year", 2013, 2014, 2015, 2016, 2017],
["Always"].concat(grade1data[0]),
["Added"].concat(grade1data[1]),
["Dropped"].concat(grade1data[2])
]
}
})
Insert cell
Insert cell
Insert cell
c3({
data: {
x: "Year",
columns: [
["Year", 2013, 2014, 2015, 2016, 2017],
["Always"].concat(grade1bdata[0]),
["Added"].concat(grade1bdata[1]),
["Dropped"].concat(grade1bdata[2])
]
}
})
Insert cell
Insert cell
grade2data = getAveragesForGrade(2, true);
Insert cell
Insert cell
grade3data = getAveragesForGrade(3, true);
Insert cell
Insert cell
grade4data = getAveragesForGrade(4, true);
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more