// return function that uses scale to compute radius size of earthquake based on quake's mag
returnfunction(quake){
// return the radius of the quake
returnscale(Math.exp(quake.properties.mag))
}
}
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.