CSE512 Projects (Spring 2016)

Statistical Graphics Support For Vega-Lite

Statistical Graphics Suppor For Vega-Lite

In this paper we present an extended grammar for primitive mark types like rule, bar and area to support ranged marks in vega-lite [1], a high-level grammar that enables rapid specification of interactive data visualizations. This extended grammar for primitive marks along with layering [1] in vega- lite then allows for representation of various statistical graphics like error bars, box and whisker plots, confidence intervals, difference charts, bullet graphs, candlestick plots and various other frequently used statistical graphics that are used in a various fields of study like computer science, statistics, financial risk analysis, perceptual psychology, semiotics and many others. we also present a new concept of composite marks in vega-lite to reduce redundancy of the specification grammar for most commonly used statistical graphics like error bars or traditional box and whisker plots. This helps in keeping the vega-lite specification maintain its concise nature.

Note: Currently Layering of Composite Marks in implemented. Its Dependent of the layer.ts which I haven't modifed yet.

Software

Try it online here. This is a link to my personal version of vega-editor. Try out different examples I made using ranged marks, composite marks, and layering.

Code

The Final Demo Pull Request here This is the final pull request (#1420) to the vega-lite repository. Look over another pull request (#1382) mentioned in this pull request for details. All the branches with ayush/stat prefix are related to this project.

Materials