//A simple bar chart structure 3

let chart = d3_rs_bars.html();

//datum using Index and Value using data series and by dafault it is stacked
let data = [{"l":2,"v":[5,4,2]},{"l":4,"v":[2,2,4]},{"l":1,"v":[3,1,2]}]

d3.select('body')
  .datum(data) 
  .call(chart);

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-bars/latest/d3-rs-bars.umd-es2015.min.js