 they&apos;ve been created. When the chart data is changed, Chart.js will animate to the new data values. </p>
<h2 id="adding-or-removing-data">Adding or Removing Data</h2>
<p>Adding and removing data is supported by changing the data array. To add data, just add data into the data array as seen in this example.</p>
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">addData</span>(<span class="hljs-params">chart, label, data</sp