The D3.js google group is chock-full of excellent advice, especially around reusability etc. NVD3 is a great way to put D3 in play with less hand-coding, too.
Check out Flask! I am no Python expert, but Flask is an excellent micro framework that makes (especially simple web) app building a simple(r) process. It's also fun.