Fixed up the D3 demo plugin