Added support for pie data. Closes #4.