This post describes how to build a basic bubble map with d3.js on top of a leaflet background. See more bubblemap examples here. This example works with d3.js v4 and v6
v4
v6
latLngToLayerPoint