Self Learning is a very creative process. Having a master who created what you want to learn is very important. First start by tearing apart what master has created, so you can put together better than him. D3 involves CSS/ HTML and JS. The relationship between these three can become very complex. If we change even one aspect of what the master has done, then many things can break. So learning is art of tearing down the domino without letting it collapse
Give the element color fill manually when creating them with d3