title: d3.js v4 how to set brush programmatically
body: <p>I am building a version of this parallel coordinate view in d3.js v4.
  <a href="https://bl.ocks.org/syntagmatic/05a5b0897a48890133beb59c815bd953" rel="nofollow noreferrer">https://bl.ocks.org/syntagmatic/05a5b0897a48890133beb59c815bd953</a></p>
  
  <p>In my example I have a predefined  selection (in the form of a [min,max] array that I would like to set programatically as a brush in one or more of the axes, after the plot has loaded. But I cannot seem to find a way to do it. Most examples I found on setting a brush from code are using d3 v3 and use setting extent but that does not work anymore in v4 it seems.</p>
  
  <p>can someone give me some tips and a simple example hot to do this in this case (so with multiple axes and brushes active) ?</p>
  
  <p>thanks </p>