Fixing line colors and adding comments to explain the thought process for coding a line in d3.