title: D3.select(this) but filter
body: <p>I am working on an D3 forced graph and got a challenge. I added a &quot;mouseenter&quot; function which increase the radius of nodes if getting hovered.</p>
  <pre><code>.on(&quot;mouseenter&quot;, function(d) {
                      d3.select(this)
                          .transition()
                          .duration(200)
                          .attr(&quot;r&quot;, 50)
  </code></pre>
  <p>Now I want to exclude certain nodes and thought to filter would help. Unfortunately it doesn´t. Probably my code is wrong or I need to add those filtering later one. Any idea?</p>
  <pre><code> .on(&quot;mouseenter&quot;, function(d) {
                      d3.select(this)
                          .filter(function() {
                              return !this.graph.nodes.name(&quot;usv&quot;))
                          })
                          .transition()
                          .duration(200)
                          .attr(&quot;r&quot;, 50)
  </code></pre>
  <p>Best,</p>
  <p>Kristian</p>