Exporting data from a visualization

Right now there's no such feature available.
You can track the progress on this issue where table-based visualization would provide some programmatic way to export CSVs.