<div id ='chart'>
<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 id="elm"></div>
  margin: 1em;
//enable different geometry view for each country
//Parameters include land, states, counties

let geo = d3_rs_geo.html()
                   .geometry('states');  //

      .datum({ url: 'https://static.redsift.io/thirdparty/topojson/examples/us-10m.json'}) //world topoJSON
View Compiled

External CSS

  1. //static.redsift.io/reusable/ui-rs-core/latest/css/ui-rs-core.min.css

External JavaScript

  1. //d3js.org/d3.v4.min.js
  2. //static.redsift.io/reusable/d3-rs-geo/latest/d3-rs-geo.umd-es2015.min.js