Yes, you can still access your data if you cancel your account.
Once you've cancelled your account, you'll have access to a limited version of the app that allows you to see your old data. You won't be able to use the paid features of the app like the Challenges, Articles or use a new CGM device.