<div id ='chart'>
<h3><code>geometry();</code></h3>
<p>Split a country into <code>'states'</code>, <code>'counties'</code> or <code>'land'</code>(give an overview of the whole country).<br>
<code><b>Note:</b></code> To be able to split into different states or countries the TopoJSON need to include the data of the parameter.</p>
</div>
<div id="elm"></div>
//RedSift
//geometry()
//enable different geometry view for each country
//Parameters include land, states, counties
let geo = d3_rs_geo.html()
.projection('geoAlbersUsa')
.geometry('states'); //
d3.select('#elm')
.datum({ url: 'https://static.redsift.io/thirdparty/topojson/examples/us-10m.json'}) //world topoJSON
.call(geo);
View Compiled