Use d3.geo.bounds and d3.geo.distance to compute an approximate scale to display a complete feature.
d3.geo.bounds
d3.geo.distance