block"><pre><code class="qm-code-font"><span class="hljs-keyword">view</span>.<span class="hljs-keyword">update</span>(<span class="hljs-keyword">function</span>(datum, node, i){
  this.text(datum.name)
});</code></pre></div> </div><div class="qm-html-paragraph">Calling view.update(function...) does nothing on its own. It simply sets the update function to use when view.apply() is called. </div><div class="qm-html-paragraph">The this context for the update function is a Selection with the element to be upda