an class="hljs-keyword">new</span> hx.PivotTable(<span class="hljs-string">'#table3'</span>)

<span class="hljs-keyword">var</span> data1 = {
  <span class="hljs-attr">topHead</span>: [
    <span class="hljs-string">'Head 1'</span>,
    <span class="hljs-string">'Head 2'</span>,
    <span class="hljs-string">'Head 3'</span>
  ],
  <span class="hljs-attr">leftHead</span>: [
    <span class="hljs-string">'Head 1'</span>,
    <span class="hljs-string">'Head 2'</span>,
    <span class="hljs-string">'Head 3'</sp