diff --git a/src/data/explorations/pages/house-prices-vacant-homes.vto b/src/data/explorations/pages/house-prices-vacant-homes.vto
index 01de0ef..c49f13c 100644
--- a/src/data/explorations/pages/house-prices-vacant-homes.vto
+++ b/src/data/explorations/pages/house-prices-vacant-homes.vto
@@ -119,7 +119,11 @@ make_scatterplot(combined, 2004)
make_scatterplot(combined, 2014)
make_scatterplot(combined, 2023)
-
Note: For accessibility and interactivity we have replaced the python charts with OI Lume Viz charts below.
+
+Note: For accessibility and interactivity we have replaced the python charts with OI Lume Viz charts below.
+
+2004
+
{{ comp.oi.chart.scatter({
config: {
data: vh_hp_ratio_by_local_authority(2004n),
@@ -141,16 +145,29 @@ make_scatterplot(combined, 2023)
}
},
series: [{
- title: '2004',
+ title: 'Outside London',
+ x: "vacants_per_thousand_dwellings",
+ y: "wage_ratio",
+ where: '"London borough"="notLondon"',
+ colour: "purple",
+ points: { size: 8 },
+ tooltip: '{{ geography_name_x }}
Vacant homes per 1000 dwellings: {{ vacants_per_thousand_dwellings }}
Median house price to residence-based earnings ratio: {{ wage_ratio }}'
+ },
+ {
+ title: 'London',
x: "vacants_per_thousand_dwellings",
y: "wage_ratio",
- colour: "London borough",
+ where: '"London borough"="isLondon"',
+ colour: "orange",
points: { size: 8 },
tooltip: '{{ geography_name_x }}
Vacant homes per 1000 dwellings: {{ vacants_per_thousand_dwellings }}
Median house price to residence-based earnings ratio: {{ wage_ratio }}'
}]
}
})
}}
+
+2014
+
{{ comp.oi.chart.scatter({
config: {
data: vh_hp_ratio_by_local_authority(2014n),
@@ -172,16 +189,29 @@ make_scatterplot(combined, 2023)
}
},
series: [{
- title: '2014',
+ title: 'Outside London',
x: "vacants_per_thousand_dwellings",
y: "wage_ratio",
+ where: '"London borough"="notLondon"',
colour: "purple",
points: { size: 8 },
tooltip: '{{ geography_name_x }}
Vacant homes per 1000 dwellings: {{ vacants_per_thousand_dwellings }}
Median house price to residence-based earnings ratio: {{ wage_ratio }}'
+ },
+ {
+ title: 'London',
+ x: "vacants_per_thousand_dwellings",
+ y: "wage_ratio",
+ where: '"London borough"="isLondon"',
+ colour: "orange",
+ points: { size: 8 },
+ tooltip: '{{ geography_name_x }}
Vacant homes per 1000 dwellings: {{ vacants_per_thousand_dwellings }}
Median house price to residence-based earnings ratio: {{ wage_ratio }}'
}]
}
})
}}
+
+2023
+
{{ comp.oi.chart.scatter({
config: {
data: vh_hp_ratio_by_local_authority(2023n),
@@ -203,10 +233,20 @@ make_scatterplot(combined, 2023)
}
},
series: [{
- title: '2023',
+ title: 'Outside London',
+ x: "vacants_per_thousand_dwellings",
+ y: "wage_ratio",
+ where: '"London borough"="notLondon"',
+ colour: "purple",
+ points: { size: 8 },
+ tooltip: '{{ geography_name_x }}
Vacant homes per 1000 dwellings: {{ vacants_per_thousand_dwellings }}
Median house price to residence-based earnings ratio: {{ wage_ratio }}'
+ },
+ {
+ title: 'London',
x: "vacants_per_thousand_dwellings",
y: "wage_ratio",
- colour: "blue",
+ where: '"London borough"="isLondon"',
+ colour: "orange",
points: { size: 8 },
tooltip: '{{ geography_name_x }}
Vacant homes per 1000 dwellings: {{ vacants_per_thousand_dwellings }}
Median house price to residence-based earnings ratio: {{ wage_ratio }}'
}]