The Table Filter, Charts & Spreadsheets for Confluence app can be migrated from Data Center to Cloud and vice versa successfully:

All the data such as table content and macro settings is a part of a Confluence page. There is no need to prepare the pages containing the macros included in the app before the migration.

You can find a detailed comparison of Cloud and Data Center versions on this page .