title: Fine-grained visualization pipelines and lazy functional languages.
abstract: The pipeline model in visualization has evolved from a conceptual model of data processing into a widely used architecture for implementing visualization systems. In the process, a number of capabilities have been introduced, including streaming of data in chunks, distributed pipelines, and demand-driven processing. Visualization systems have invariably built on stateful programming technologies, and these capabilities have had to be implemented explicitly within the lower layers of a complex hierarchy of services. The good news for developers is that applications built on top of this hierarchy can access these capabilities without concern for how they are implemented. The bad news is that by freezing capabilities into low-level services expressive power and flexibility is lost. In this paper we express visualization systems in a programming language that more naturally supports this kind of processing model. Lazy functional languages support fine-grained demand-driven processing, a natural form of streaming, and pipeline-like function composition for assembling applications. The technology thus appears well suited to visualization applications. Using surface extraction algorithms as illustrative examples, and the lazy functional language Haskell, we argue the benefits of clear and concise expression combined with fine-grained, demand-driven computation. Just as visualization provides insight into data, functional abstraction provides new insight into visualization.
authors.affiliation: School of Computing, University of Leeds, UK. djd@comp.leeds.ac.uk
authors.forename: David
authors.initials: D
authors.lastname: Duke
authors.forename: Malcolm
authors.initials: M
authors.lastname: Wallace
authors.forename: Rita
authors.initials: R
authors.lastname: Borgo
authors.forename: Colin
authors.initials: C
authors.lastname: Runciman