mentId'</code>; the first argument of <code>peity</code> is the type of chart to produce from the data, and the second optional argument is a JSON of options.</p>
<div class="sourceCode" id="cb93"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb93-1" title="1"><span class="at">$</span>(<span class="st">&quot;#elementId&quot;</span>).<span class="at">peity</span>(<span class="st">&quot;bar&quot;</span><span class="op">,</span> <span class="op">{</span></a>
<a class=