// format coordinates with 3 digits, remove properties
// (we use viewof to limit the size of the display)
viewofjson={
constjson=geoformat(3,["properties"])(geo),
show=md`\`\`\`{json}
${json.substring(0,10000)}
…
\`\`\``;
show.value=json;
returnshow;
}
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.