A method and system for producing graphics. A hierarchical structure of a
database is determined. A visual table, comprising a plurality of panes,
is constructed by providing a specification that is in a language based
on the hierarchical structure of the database. In some cases, this
language can include fields that are in the database schema. The database
is queried to retrieve a set of tuples in accordance with the
specification. A subset of the set of tuples is associated with a pane in
the plurality of panes.