This simple example uses d3-fetch to pull in data from a csv file before rendering it in a Flourish template.
When running this locally you'll need to put in your own Flourish API key.
An example of using the Flourish API with data from a CSV file
HTMLBSD-3-Clause