Now uses d3 if available
Using .d3 instead of global
release 0.0.5