//A simple bar chart structure 2 let chart = d3_rs_bars.html(); //datum using Index and Value to customise the bar let data = [{"l":"Gas","v":59},{"l":"Water","v":22},{"l":"Oil","v":30}]; d3.select('body') .datum(data) .call(chart);
This Pen is owned by Geervesh Peenith on CodePen.
See more by @geervesh on CodePen