D3 is open-source. It allows you to work with source code and add your tricks. There is no tool required for learning.