parking = VegaL({
$schema: 'https://vega.github.io/schema/vega/v5.json',
data:[{
name: "disabilities",
url: "https://gist.githubusercontent.com/StanisNowak/7432a7e657f857e1e98d2f0f10015db7/raw/8a211fcffbea75f7caa8583736048e096679727b/disabilityParking.geojson",
format: {
type: "json",
property: "features"
}
}],
projections: [{
name: "projection",
fit: {signal: "data('disabilities')"},
size: {signal: "[800, 600]"},
type: "mercator"
}],
marks: [
{
type: "shape",
from: {data: "disabilities"},
encode: {
update: {
opacity: {value: 0.25},
fill: {value: "blue"}
}
},
transform: [
{
type: "geoshape",
projection: "projection",
pointRadius: 6
}
]
}
]
})