copy of gists examples made with d3.js and jquery