an class="kw">plot_ly</span>(diamonds, <span class="dt">x =</span> <span class="op">~</span>cut, <span class="dt">color =</span> <span class="op">~</span>clarity, <span class="dt">colors =</span> <span class="st">&quot;Accent&quot;</span>)</span>
<span id="cb17-2"><a href="overview.html#cb17-2"></a><span class="kw">plotly_json</span>(p)</span></code></pre></div>
<div class="figure" style="text-align: center"><span id="fig:intro-json"></span>
<img src="images/intro-json.png" alt="A portion of the JSON data b