d3 conversion

Up to previous leaflet implementation