generates an SVG visualization of a glass filled with water to a specified level,
rendered via D3 using the r2d3 package. The fill level, appearance of the glass, and label settings
can be customized.</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">glass_fill</span><span class="op">(</span></span>
<span>  fill_level <span class="op">=</span> <span class="fl">0.65</span>,</span>
<span>  glassWidth <span class="op">=</span> <span clas