This post describes how to build a button that changes the input
dataset of a lollipop. It uses a
.csv
file as input. This example works with d3.js
v4
and v6
buttons
in the html part. When you click
the button, a function called update()
is
triggered.
.csv
input format.