Replicate Storage Usage in TB

I have been poking around to no avail, so far, for a way to gather the data from the system in order to replicate the colored bar for storage space available in my Touch Bar. Any of you more versed pros have any idea where this data might come from in the cli?