D3 v4 world map zoom. zoom() is what you're looking for.