Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.
dataset2=d3.tsv(url2,d3.autoType)
areamap=FileAttachment("areaMap@1.json").json()
//prefPoints = d3.json(prefPointsUrl)
//areamap = FileAttachment("areaMap.json").json()
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.