and <code>plotly_json()</code> functions can be used to inspect the underlying data structure on both the R and JSON side of things. For example, Figure <a href="overview.html#fig:intro-json">2.6</a> shows the <code>data</code> portion of the JSON created for the last graph in Figure <a href="overview.html#fig:intro-json">2.6</a>.</p>
<div class="sourceCode" id="cb17"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb17-1"><a href="overview.html#cb17-1"></a>p &lt;-<span class="st"> </span><sp