rowAve=edArrX.map(d=>d3.mean(d))// return array of the means of rows
dCorr=dCor(edArrX,edArrY)
pearson_cor_formatted=format(pearson_cor)
format=d3.format('.4f')
distCor=format(dCorr)
maxDistance=100//Infinity // Limit the search distance, if desired.
height=2*radius+5
X.size()
d3=require("d3@6")
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.