weather39° CloudyHigh: 42° | Low: 34°Ten Day Forecast
All Sections
Wednesday December 17, 2014

Where Maine's newest citizens come from

The 73 Maine residents who were sworn in as U.S. citizens on Friday during a naturalization ceremony at the Middle School of the Kennebunks came to this country from 33 different nations, representing six continents. The map shows where these new Americans immigrated from.

SOURCE: Staff reports
INTERACTIVE: T.E.D. Andrick
'; return tipTitle + tipData; }) .attr('class', 'd3-tip'); var tip2 = d3.tip() .offset([-10, 0]) .html(function(d) { var tipTitle = '
Maine
Total Immigrants: 73
Total Countries: 33' return tipTitle; }) .attr('class', 'd3-tip'); //g = svg.append('g'); svg.call(tip); svg.call(tip2); var path = d3.geo.path() .projection(projection); //var g = svg.append("g"); // load and display the World d3.json("/includes/topoWorldCountries.json", function(error, topology) { svg.selectAll("path") .data(topojson.object(topology, topology.objects.countries).geometries) .enter() .append("path") .attr("d", path); var point = svg.selectAll('g') .data(countries) .enter() .append('g') .attr("transform", function(d, i) { return "translate(" + projection([d.lng, d.lat])[0] + "," + projection([d.lng, d.lat])[1] + ")"; }); point.append('circle') .attr("r", function(d) { return (2.5 * Math.sqrt(d.num)) + 2; }) .attr('class', 'airpoint') .on('mouseover', tip.show) .on('mouseleave', tip.hide); var coordinates = projection([-69,45.5]); svg.append("circle") .attr("cx", coordinates[0]) .attr("cy", coordinates[1]) .attr("r", 10) .attr('class', 'maine') .on('mouseover', tip2.show) .on('mouseleave', tip2.hide); links = []; for(var i=0, len=countries.length-1; i