Unlisted
Edited
May 1
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
Insert cell
Insert cell
Insert cell
schools_with_primary_aged_students = FileAttachment("schools_with_primary_aged_students.json").json()
Insert cell
sa3 = summarise_by_geography("Statistical Area 3 Name");
Insert cell
Insert cell
greater_capital_city = summarise_by_geography('gcc_name21');
Insert cell
Insert cell
electorates = summarise_by_geography('ced_name24').map(ced => ({
...ced,
...ced_info_with_hex.find(d => d.Division == ced.name)
}))
Insert cell
map_scale_electorates = {
const access_values = map_data_electorates.features.filter(f => f.properties.AREASQKM > 0 && f.properties.places_per_student).map(f => Number.parseFloat(f.properties.places_per_student));
const extent = d3.extent(access_values);
return d3.scaleDiverging()
.domain([extent[0], extent[1] / 2, extent[1]])
.interpolator(d3.interpolateRdBu)
.clamp(true);
}
Insert cell
map_data_electorates = {
const new_data = JSON.parse(JSON.stringify(ced_2024_aust_gda2020));
new_data.features.forEach(f => {
const ced = electorates.find(e => e.name === f.properties.CED_NAME24);

if (!ced) return f;
f.properties = {
...f.properties,
...ced
}
});
return new_data;
}
Insert cell
map_scale_sa3s = {
const access_values = map_data_sa3s.features.map(f => Number.parseFloat(f.properties.places_per_student));
const extent = d3.extent(access_values);
return d3.scaleDiverging()
.domain([extent[0], extent[1] / 2, extent[1]])
.interpolator(d3.interpolateRdBu)
.clamp(true);
}
Insert cell
Insert cell
sa3_2021_aust_gda2020 = FileAttachment("SA3_2021_AUST_GDA2020@1.json").json()
Insert cell
ced_2024_aust_gda2020 = FileAttachment("CED_2024_AUST_GDA2020.json").json()
Insert cell
2025-04-15-ced_info_with_hex.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
sal_2021_aust_gda2020 = FileAttachment("SAL_2021_AUST_GDA2020.json").json()
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