4 ms·
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
by prophesi 3y ago
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.
- blatherard 3y agoAn even simpler option to get the data, at least in firefox, is to open the console, enter `window._Flourish_data` then right-click the result and select "Copy Object" which will put the json in your paste buffer and you can then paste it into a file.