//.attr("cx", ???) // add accessor to horizontal scale
//.attr("cy", ???) // add accessor function to vertical scale
.attr("r",5)
.attr("fill","steelblue")// replace with your color scale from above
.attr("fill-opacity",0.7)
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.