Public
Edited
Dec 19, 2023
Insert cell
Insert cell
viewof zoom = Inputs.range([0, 1], {label: "longitude", step: .001, value: .23})
Insert cell
viewof Floor_water = Inputs.toggle({label: "Floor water in 50 years"})
Insert cell
Plot.plot({width: 3000,height:3000,
backgroundColor: "blue",
projection: {type: "orthographic",rotate: [80, -34], domain:circle},
r: {transform: (d) => Math.pow(10, d)},
style: "overflow: visible;",
marks: [
Plot.geo(Flood, {
fill: "cyan",
fillOpacity: 0.6,
type: "md" }),
Plot.geo(censusTractsTabular_20231107 ,
{fill: "white",
stroke:"black","strokeWidth":0.5,
fillOpacity: .5
,
type:"md"})
]
})
Insert cell
censusTractsTabular_20231107 = FileAttachment("2020 Census Tracts - Tabular_20231107.geojson").json()
Insert cell
Floor_water
Insert cell
shoreline = FileAttachment("Shoreline.geojson")
Insert cell
Flood = FileAttachment("Sea Level Rise Maps (2050s 500-year Floodplain).geojson").json()
Insert cell
boroughs = FileAttachment("boroughs.geojson")
Insert cell
circle = d3.geoCircle().center([-73.9, 40.68]).radius(zoom)()
Insert cell
dgi = FileAttachment("DEP Green Infrastructure.geojson").json()
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