I'm looking for a way to display some information that requires both vertical and horizontal headers for a gallery table.
My app stores information on clothing styles. One function of the app is supposed to capture garment measurements that change during the development process. And it's best to get a view across the different stages to see where the changes are.
In short, a gallery that displays vertical and horizontal headers/labels like this:

Eventually would like to add a row or column, but ignore that for now. Just trying to get the data format correct.
So far I've tried using nested galleries, by having a horizontal gallery with the version (sample 1, sample 2, final), and a nested vertical gallery with the measurements that references the version. I can get columns 2-4 from the above image, but not the first column with row headers.
This is using a SP list with the following format:
Style | Version | Measurement Name | Measurement Value
Style would be linked to the "Styles" parent table.
Is this even possible? Any suggestions?