esize', drawChart );

</script></xmp></code></pre>
<!-- ==================================== -->

<!-- ========= show JS code v6 ==============  -->
<pre class="language-js d-none d3v6-chunk"><code id="code-js-v6" contenteditable="true"><xmp><script>

// select the canvas and the container element
const canvas = document.getElementById('my_dataviz');

// Get the 'context'
const ctx = canvas.getContext('2d');

// A function that finishes to draw the chart for a specific device size.
function drawChart() {

 