{
let svg = viz.create({ projection: d3.geoNaturalEarth1(), zoomable: true });
svg.outline();
svg.graticule({ stroke: "white", step: 30 });
svg.path({ datum: world, fill: "white", fillOpacity: 0.3 });
svg.header({ text: "Nuclear Power Plants worldwide" });
svg.footer({
text: "source: https://github.com/cristianst85/GeoNuclearData"
});
svg.symbol({
data,
symbol: "nuke",
fill: "black",
background_fill: "#ebac00",
background_fillOpacity: 1,
background_stroke: "black",
background_strokeWidth: 1,
r: 12,
background: true,
tip: true
});
return svg.render();
}