Keep getting error: “`data` must be a data frame, or other object coercible by `fortify()`”

Could you share a sample of demographics_dat on a copy/paste friendly format?, ideally, could you turn this into a proper minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ: