Building a Grammar for Statistical Graphics in Clojure

A session at Clojure/conj 2012

Friday 16th November, 2012

2:40pm to 3:20pm (EST)

As programmers, we're used to seeing data in rectangular tables that are optimized for fast retrieval and processing by computer. Pictures of data, such as scatterplots, bar charts, and maps, optimize data for efficient analysis by human. SQL is powerful because it allows us to ask complex questions of our data without busying ourselves with the mechanics of iteration, aggregation, and indexing. We need the same for pictures: a grammar that allows us to express rich data visualizations without the nuisance of looping, drawing axes, and juggling legends.

In this talk, I will introduce such a grammar of graphics, implemented in Clojure. As motivation, I'll discuss the principles of effective data visualization and the insights that can come from just looking at your data. The grammar itself consists of simple data structures, maps and arrays. As a first consequence, this means the grammar can be easily used across the JVM as well as via JSON. However, there are several other, deeper ramifications of having a "data API" that will be discussed.

There will be a live coding demonstration of interactively applying machine learning to a simple task and visualization of the results.

About the speaker

This person is speaking at this event.
Kevin Lynagh

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 2:40pm3:20pm EST

Date Fri 16th November 2012

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session