onent is shown.</p>
<p>The data-attribute <code>data-chart-controls-type</code> is used to determine, on click, which component is shown.</p>
<p>In the following, clicking on the &#39;Chart&#39; input will cause the element with <code>data-chart-data-id=&quot;chart1&quot;</code> to be shown, and all other components hidden.</p>
<pre><code>&lt;label class=&quot;btn btn--secondary btn--small btn--narrow btn--thin btn--secondary--active&quot;&gt;
    Chart
    &lt;input type=&quot;radio&quot; name=&quot;type&q