y", d => y(d.value))
      .attr("width", x.bandwidth())
      .attr("height", d => height - y(d.value))
      .attr("fill", "#69b3a2")
}

// Initialize the plot with the first dataset
update(data1)

</script></xmp></code></pre>
            <!-- ==================================== -->
          </div>
        </div>
      </div>
    </section>
    <br />

    <!-- ============================ -->

    <!-- ============================ RELATED BLOCKS ============================ -->

    <section class="bg-