updated to latest d3 version
fixed transition problem due to upgrade
change example style