Thanks! And alternatively you can create an anchor element in the console with `href` set as a JSON stringified representation of `window._Flourish_data`. Then set a download attribute with the filename you'd like, and simulate a click to download it.
To use it in leaflet, you'll need to iterate over the `events` array and change `lon` to `lng` before adding each point to the leaflet map.