work through d3pie examples to determine how best to implement