{
const Geo_lille =
vl.markGeoshape({color:'#2A2A2A',stroke: '#FFF', strokeWidth:1, strokeDash: [3, 3]})
.data(vl.topojson(Lille_Geo).feature('poly') )
const plotALl =
vl.markSquare(
{color:'#FF6600',opacity: '1', filled: false, size:1, strokeWidth: 0.5 , strokeOpacity:'1'}
)
.title("Lille, mutations > "+ + " euros")
.data(Computed)
.encode({
"longitude": { "field": "longitude", "type": "quantitative" },
"latitude": { "field": "latitude", "type": "quantitative" },
"size": { "field": "valeur_fonciere", "type": "quantitative", "title":"Valeur Foncière"},
"color": { "field": "type_local", "type": "nominal", "title":"Nature du bien"},
"tooltip" : {"field": "valeur_fonciere"},
})
.transform(vl.filter({ "field": "surface_reelle_bati","gt": n}))
return vl.layer(Geo_lille,plotALl)
.project(vl.projection('mercator'))
.width(900).height(500)
.height(Math.floor(0.5 * width))
.padding(100)
.config({view: {stroke: null}})
.render();
}