2

I have created some great charts with google-cloud-datalab My issue now is how can I make these visible/useable by end users.

Thanks

1 Answers1

3

If the users are members of the same project, then you can share the notebook (see How do I share my notebooks in DataLab?).

If you are using the %chart magic, you should be able to convert a notebook to HTML and share that. These charts are generated dynamically and require access to the underlying data to render, but the data will be included in the HTML file (however for tables you will get just the first page of data).

The other option is to use matplotlib or some other Python plotting library. You would need to export the data from BigQuery to (say) a Pandas dataframe and plot using that. You could then save the notebook as HTML or as an .ipynb file and share that. Many of these plotting libraries will generate the plot as a PNG image so that can be shared statically.

Graham Wheeler
  • 2,734
  • 1
  • 19
  • 23