Plot.plot({
width: 900,
height: 600,
projection: { type: "albers", domain: nycBoroughs },
color: {
legend: true,
label: "Income",
type: "linear",
range: ["red", "green"],
interpolate: "hcl"
},
marks: [
Plot.geo(nycBoroughs, { stroke: "black", strokeOpacity: 0.3 }),
Plot.geo(nycShoreline, { stroke: "blue", strokeOpacity: 0.1 }),
Plot.geo(nyc_census_income.features, {stroke:"blue", strokeOpacity: 0.1, fill: d => tree_tracts.get(d.properties.NAME10).trees})
]})