adding ad3 manually
added a d3 directive
working through the data
added new line function
agreed on mathematics