Multicategory Axis Type Example?

Thanks, but the first link seems to just be a stacked bar chart with a single x-axis category. I’m trying to replicate an x-axis like the one above in my image with [16,17,18] as a subcategory of [BB+].

I found the same reference in the second link but I am still confused as to how to make it work.