Charts can be added to any slide using the built-in chart features in both Keynote and Google Slides.
To add a chart in Keynote click the button in the top toolbar.
To edit the data in the chart click the chart (if not already selected) and click the Edit Chart Data button. A small spreadsheet window will appear and you can copy/paste your data into the cells.
To add a chart in Google slides, click Insert > Chart and select the type of chart you would like to use.
If you already have your data in a specific Google Sheet, click From Sheets...
To edit the data in the chart, select the chart and click the dropdown arrow in the top right corner. Select Open Source and you will be moved to the Google Sheet containing the data for your chart. Within the Sheet, you can update values and customize the appearance of your chart. To view any of the changes made to your chart and/or its data, click Update to refresh the chart.