This progress bar is a bit different, but I can give it a try.
I’m for sure even less versed in js, so please give me some more tips, if you can.
The 4 parameters (dry, body, tannin, acidity) go in the YAML, right?
But where does the query go? I can’t also put it in the query, because that spits out an invalid YAML.
Because you mention a “database” I thought the intention was to build a kind of comparison.
If to place only as visual thing in each page, than the @AlanG suggestion seems good.
The suggestion of fields with numbers is also related with the edit flexibility: it’s more easy to edit a number that other thing. But if in your case the values are static (as placed in first edition), then this isn’t an issue.
About your questions, you can place the fields in yaml frontmatter (but in the case don’t use the double “::” but only one “:” (double “::” is related with fields in the content, inline fields for dataview).
The query should be placed not in frontmatter but in the content inside a code block with “```dataviewjs” at the top.
With the suggested fields in frontmatter, you can also use this in the content (a markdown table with some inline queries inside):