I have a large index of documents. Each document number either starts with "XXX-", "YYY-", or "ZZZ-" and I would like to, in a horizontal bar chart, have one bar be for "XXX-" documents, the other be for "YYY-" documents, and the last bar be for "ZZZ-" documents.
Currently my bar chart is only aggregating the top 3 documents that have the most duplications in the index, which makes sense. I would, however, like to have three bars, one for each of the document number suffixes, and the bar represent how many of the "XXX-", "YYY-", and "ZZZ-" docs are in my index.
I believe this would be something solved by the "JSON input" field, but I'm largely unfamiliar with that input and how that data is read.
Thanks for the help!