Public
Edited
Nov 23, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
bertin = require("bertin@1.8")
Insert cell
Insert cell
Insert cell
Insert cell
gender_primary.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
gender_secondary@1.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
overall@4.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
overall_primary@4.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
overall_secondary.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
overall-t.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
overall_primary-t.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
overall_secondary-t.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
gender-t@1.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
gender_primary-t.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
gender_secondary-t.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
viewof year.value = running_year
Insert cell
running_year = {
if (running == false) {return year}
else {return Math.floor(now / 300) % (2016 - 1970) + 1970}
}
Insert cell
current_data = {
if (index == "GPI" && factor == "tertiary") {return GPI_tertiary}
else if (index == "GPI" && factor == "primary") {return GPI_primary}
else if (index == "GPI" && factor == "secondary") {return GPI_secondary}
else if (index == "Overall" && factor == "tertiary") {return Overall_tertiary}
else if (index == "Overall" && factor == "primary") {return Overall_primary}
else if (index == "Overall" && factor == "secondary") {return Overall_secondary}
else {return 0}
}
Insert cell
current_line_data = {
if (index == "GPI" && factor == "tertiary") {return T_GPI_tertiary}
else if (index == "GPI" && factor == "primary") {return T_GPI_primary}
else if (index == "GPI" && factor == "secondary") {return T_GPI_secondary}
else if (index == "Overall" && factor == "tertiary") {return T_Overall_tertiary}
else if (index == "Overall" && factor == "primary") {return T_Overall_primary}
else if (index == "Overall" && factor == "secondary") {return T_Overall_secondary}
else {return 0}
}
Insert cell
color = {
if (index == "Overall") {return "YlGnBu"}
else {return "RdPu"}
}
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