title: Fill rect with pattern
body: <p>I am using d3.js for graph. at some point i have to show data with some special part of graph for example if the values is cross some boundary then show that part with filling pattern. for more clear is there in and image.</p>
  
  <p>i get the rect part that cross the boundary but how can i fill it with this pattern?
  any css or canvas tricks?</p>
  
  <p><img src="https://i.stack.imgur.com/BnQVC.jpg" alt="enter image description here">  </p>
  
  <p>Note : this image is just an example not the real one </p>