Some books
✓ Published0🌍 Public
CCliffordAnderson
Last edited Nov 13, 2015
Created on Oct 9, 2015
This example visualizes a collection of 20 books from a CSV file, grouped by binding type into hardcover and paperback categories. It shows the distribution of books across these two formats, with each group’s count displayed as an attribute. The code uses XQuery 3.1 with `fetch:text` and `csv:parse` to load and parse the data from a Gist URL, then groups records by the `Binding` field and orders them alphabetically. The rendering approach is plain text output, with no graphical libraries, relying solely on XQuery’s element construction to list the grouped records.
AI-generated description