<div id='description'>
  <h3><code>height();  width();</code></h3>
  <p>Resize the width and height of the chart.</p>
  <p>The chart below is resized to a height of <code>200</code> pixels and width <code>400</code> pixels.</p>
  <p><code>.height(200).width(400);</code></p>
</div>
<div id=chart></div>
#description {
  margin: 1em;
}
//RedSift
//height();
//width();
//Changes width and height of the graph
let chart = d3_rs_lines.html().height(200).width(400); 

//resize width and height to a certain size
d3.select('#chart').datum([1,2,3,10,20]).call(chart);
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-lines/latest/d3-rs-lines.umd-es2015.min.js