{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","config":{"view":{"stroke":null},"facet":{"spacing":3}},"data":{"url":"https://raw.githubusercontent.com/RakshandaMehnaz/Data-Viz-datasets/main/TenurePercentChange.csv"},"transform":[{"lookup":"label","from":{"data":{"url":"https://gicentre.github.io/data/census21/ewLAs.json","format":{"type":"topojson","feature":"las"}},"key":"properties.label"},"as":"geo"}],"columns":2,"facet":{"field":"Type","header":{"title":"Tenure Distribution Percentage 2021"}},"spec":{"width":400,"height":300,"encoding":{"shape":{"field":"geo","type":"geojson"},"color":{"field":"Percentage","type":"quantitative","legend":{"title":"Residents %","orient":"none","legendX":350,"legendY":650,"direction":"horizontal"}},"tooltip":[{"field":"label","title":"Local Authority Area"},{"field":"Value","title":"Number of Residents"},{"field":"Percentage"}]},"mark":{"type":"geoshape","stroke":"white"}}}

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","config":{"view":{"stroke":null},"facet":{"spacing":3}},"data":{"url":"https://raw.githubusercontent.com/RakshandaMehnaz/Data-Viz-datasets/main/TenurePercentChange.csv"},"transform":[{"lookup":"label","from":{"data":{"url":"https://gicentre.github.io/data/census21/ewLAs.json","format":{"type":"topojson","feature":"las"}},"key":"properties.label"},"as":"geo"}],"columns":2,"facet":{"field":"Type","header":{"title":"Tenure Percentage Change Since 2011"}},"spec":{"width":400,"height":300,"encoding":{"shape":{"field":"geo","type":"geojson"},"color":{"field":"Percentage Change","type":"quantitative","legend":{"title":"Change %","orient":"none","legendX":350,"legendY":650,"direction":"horizontal"}},"tooltip":[{"field":"label","title":"Local Authority Area"},{"field":"Percentage Change","title":"Resident % Change"}]},"mark":{"type":"geoshape","stroke":"white"}}}

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","width":600,"height":480,"data":{"url":"https://raw.githubusercontent.com/RakshandaMehnaz/Data-Viz-datasets/main/AffordabilityDataEngWales.csv"},"params":[{"name":"mySelection","select":{"type":"point","fields":["Region name "]},"bind":"legend"}],"encoding":{"x":{"field":"Year","axis":{"labelAngle":0}},"xOffset":{"field":"Median House Earnings","type":"quantitative","scale":{"zero":false},"axis":{"grid":false}},"y":{"field":"Median House Price","type":"quantitative","scale":{"zero":false},"axis":{"grid":false}},"fillOpacity":{"condition":{"param":"mySelection","value":1},"value":0.2},"color":{"condition":{"param":"mySelection","field":"Region name ","scale":{"scheme":{"name":"yelloworangered","extent":[0.2,0.9]}}},"value":"lightgrey"},"size":{"field":"Affordability Ratio","scale":{"range":[0,400],"type":"pow","exponent":1.4285714285714286}},"tooltip":[{"field":"Median House Earnings","title":"Median Income"}]},"mark":"circle"}

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","config":{"view":{"stroke":null},"facet":{"spacing":1}},"data":{"url":"https://raw.githubusercontent.com/RakshandaMehnaz/Data-Viz-datasets/main/AffordabilityDataEngWalesGeo.csv"},"transform":[{"lookup":"Local authority name","from":{"data":{"url":"https://gicentre.github.io/data/census21/ewLAs.json","format":{"type":"topojson","feature":"las"}},"key":"properties.label"},"as":"geo"}],"columns":2,"facet":{"field":"Year","header":{"title":null}},"spec":{"width":500,"height":480,"encoding":{"shape":{"field":"geo","type":"geojson"},"color":{"field":"Affordability Ratio","type":"quantitative","legend":{"title":"Affordability Ratio","orient":"none","legendX":400,"legendY":500,"direction":"horizontal"}},"tooltip":[{"field":"Local authority name"},{"field":"Median House Price"},{"field":"Median House Earnings","title":"Median Income"},{"field":"Affordability Ratio"}]},"mark":{"type":"geoshape","stroke":"white"}}}

East MidlandsEast of EnglandLondonNorth EastNorth WestSouth EastSouth WestWalesWest MidlandsYorkshire and The Hum…0123456782021 ScoreAnxietyHappinessLife satisfactionWorthwhileMeasure

East MidlandsEast of EnglandLondonNorth EastNorth WestSouth EastSouth WestWalesWest MidlandsYorkshire and The Hum…−0.05−0.04−0.03−0.02−0.010.000.010.020.030.04PercentageAnxietyHappinessLife satisfactionWorthwhileMeasure