🤖 AI Summary
Existing visualization tools treat annotations as secondary, unstructured elements—leading to manual encoding, poor reusability, loose coupling with graphical grammars, and inadequate support for data-driven semantic communication. Method: We propose a declarative extension to graphical grammar that elevates annotations to first-class design elements, enabling structured, composable specification of their target objects, semantic types, and spatial positioning strategies. Grounded in Wilkinson’s grammar of graphics, we implement Vega-Lite Annotation—a prototype integrating annotations semantically with visualization data at the grammar level. Contribution/Results: Evaluation against eight state-of-the-art tools shows our approach significantly reduces annotation authoring effort (averaging 62% less code), enhances expressive power, and improves cross-chart reusability—demonstrating both effectiveness and broad applicability.
📝 Abstract
Annotations are central to effective data communication, yet most visualization tools treat them as secondary constructs -- manually defined, difficult to reuse, and loosely coupled to the underlying visualization grammar. We propose a declarative extension to Wilkinson's Grammar of Graphics that reifies annotations as first-class design elements, enabling structured specification of annotation targets, types, and positioning strategies. To demonstrate the utility of our approach, we develop a prototype extension called Vega-Lite Annotation. Through comparison with eight existing tools, we show that our approach enhances expressiveness, reduces authoring effort, and enables portable, semantically integrated annotation workflows.