d3.contourDensity()

Is there a paper somewhere explaining in detail the algorithm behind d3.contourDensity() ?

Not that I know of.

This notebook explains the linear interpolation part:

The KDE is approximated with d3.blur2 which is documented here:

Thanks