In the spirit of this very library, i suggest making use of the substantially smaller more modular d3v4 modules