Public
Edited
Nov 1, 2023
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
Insert cell
is_cville_owned = function(d){
return d.properties.OwnerCityState.indexOf("CHARLOTTESVILLE") !== -1 ||
d.properties.OwnerCityState.indexOf("EARLYSVILLE") !== -1 ||
d.properties.OwnerCityState == "" // if owner opted out of listing their address in GIS, assume it's owner-occ
}
Insert cell
cville_owned = filter.parcels.features.filter(is_cville_owned)
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
zones = {
var data = _.clone(draft_zoning_202302.features).map(d=>d.properties.DRAFT_ZONI);
return _.uniq(data)
}
Insert cell
count_by_zones = {
var data = _.clone(draft_zoning_202302.features).sort()
data = _.countBy(data, d=>d.properties.DRAFT_ZONI);
var rows = [];
_.forEach(data, (d, i)=> rows.push({"Zone": i, "Count": d}))
return rows
}
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