n><span class="dv">2</span></span></code></pre></div>
<p>We create a <code>render_gio</code> function which accepts the entire widget, filters only the column necessary from the data and returns the widget. This function is then passed to the argument <code>preRenderHook</code> of the <code>htmlwidgets::createWidget</code> call. This way, only the columns <code>e</code>, <code>v</code>, and <code>i</code> of the data are kept thus the <code>secret_id</code> column will not be exposed publicly.</p>
<div clas