<code>x</code> yields a bar chart, (middle) mapping <code>cut</code> &amp; <code>clarity</code> to <code>x</code> &amp; <code>y</code> yields a heatmap, and (c) mapping <code>cut</code> &amp; <code>clarity</code> to <code>x</code> &amp; <code>color</code> yields a dodged bar chart.
</p>
</div>
<p>The <code>plot_ly()</code> function has numerous arguments that are unique to the R package (e.g., <code>color</code>, <code>stroke</code>, <code>span</code>, <code>symbol</code>, <code>linetype</code>, etc) and ma