Minor code improvments
Upgrade d3, and dimple