Dataview: List all fields in a page as a table (wide to long)

Dataview queries notes, so a simple table will render as in the image below.

A list of keys and values is possible but doesn’t create a two-column table (someone else will probably have a better solution).

Sample queries in the code block below.

Perhaps possible with DataviewJS or CSS.

Would be nice to have the option switch rows and columns easily.

[a:: x], [b:: y], [c:: z]

Dataview queries notes, so a simple table will render as:

```dataview
TABLE
a, b, c
WHERE file.name = this.file.name
```

A list of keys and values is possible but doesn’t create a two-column table (someone else will probably have a better solution).

```dataview
TABLE WITHOUT ID
list(
"**a** " + a,
"**b** " + b,
"**c** " + c)
as "Fields"
WHERE file.name = this.file.name
```

Perhaps possible with [DataviewJS](https://forum.obsidian.md/t/how-to-switch-column-and-row-text-using-dataviewjs/58366) or [CSS](https://github.com/blacksmithgu/obsidian-dataview/issues/1177#issuecomment-1153026541).

Would be nice to have the option switch rows and columns easily.

https://github.com/blacksmithgu/obsidian-dataview/issues/1177