This repo contains code to get you started creating R and Python-based custom functions and plots in Google Sheets.
Follow the instructions in this article to get started using R and Python code in Google Sheets.
Follow the instructions in this article to include R and Python plots in Google Sheets.
Here is a template Google spreadsheet to help you get started with plotting.