 href="overview.html#cb8-2"></a><span class="kw">library</span>(plotly)</span>
<span id="cb8-3"><a href="overview.html#cb8-3"></a></span>
<span id="cb8-4"><a href="overview.html#cb8-4"></a><span class="co"># load the diamonds dataset from the ggplot2 package</span></span>
<span id="cb8-5"><a href="overview.html#cb8-5"></a><span class="kw">data</span>(diamonds, <span class="dt">package =</span> <span class="st">&quot;ggplot2&quot;</span>)</span>
<span id="cb8-6"><a href="overview.html#cb8-6"></a>diamonds</sp