// Classic D3... Select non-existent elements, bind the data, append the elements, and apply attributes
g.selectAll("path")
.data(bosNeighborhoods.features)
.enter()
.append("path")
.attr("fill","#ccc")
.attr("stroke","#333")
.attr("d",bos_geoPath);
returnsvg.node();
}
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.