Integrates Notion databases with Google Sheets, and generate dynamic pie charts, providing a powerful and intuitive way to visualize and analyze data.
*Note: The samples provided are merely illustrative, showcasing personal financial management.
Not Verified by Google
. Don't worry about this warning - you still need to give permission for the script to work. The script is yours alone, and it won't share any data outside of Google, unless you choose to share your Google Sheet. The only data it might send outside of Google is website status codes, for monitoring purposes. Item
: Title Category
: Select or Relation Pay Amount
: Number variables.gs
and set each variable. notionToken
: Notion API Secret Key sheetNameChart
: Name of the sheet where pie charts are displayed. By default, it is named as "Chart" tableId
: ID of the target Notion database sheetName
: the name of the sheet where the record details from the target notion database are displayed item/category/monthlyPay
: Names of each field in Notion database chartName
: Name of the chart which is displayed at the top of the chart. * When creating second or subsequent pie charts, copy the variables and change the values of each variable.
codes.gs
. Ensure the required parameters are included and the variable names in the parameters are consistent with those set in variables.gs
. The row and column parameters can be set as desired. * When creating second or subsequent pie charts, copy the previous function codes and change variable names.
Trigger
in Apps Script to set the trigger to fire the function. It is recommended to set the trigger as onOpen so that every time the spreadsheet is open, the pie chart is updated. * You can find a sample of the spreadsheet settings from HERE .
Please note that your use of this website is subject to the Terms and Conditions.
You can find the source code for this tool on Github. Click HERE .
Last updated: May 5, 2024