title: How to get data of parent node in d3.js
body: <p>I am doing nesting in D3 and in a nested element, I need to reach data object on its parent.</p>
  
  <p>Right now I am doing</p>
  
  <pre><code>d3.select(this).node().parentNode.__data__;
  </code></pre>
  
  <p>Is there a better way?</p>