updated d3 version to v3 & added utf-8 charset to script