Don't draw empty slices.
DRY.
jQuery < 1.6.2 doesn't appear to be able to calculate the dimensions of a <svg> element in Firefox.
More succinct.
Allow CSS dimensions (%, em, etc) to be specified for bar and line charts.
Don't allow slices that are bigger than the pie.