I'm working with Mike Bostock's Choropleth example for US counties.
I have it working fully with my data, but I'm unable to get the projection to scale as I've seen in other examples. I need to zoom in on the center of one state at a time. It can be statically programmed if necessary.
I've tried adding this but it badly distorts the results, so I'm assuming it is not the correct implementation:
var unemployment = d3.map();
var projection = d3.geoAlbersUsa()
.translate([ width/ 2, height/ 2]) .scale([500]);
var path = d3.geoPath(projection);
What is the correct syntax to transform and scale this projection?
Added: Here is a link to a Plukr showing what I'm getting as my incorrect results.