<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