import latest d3 code including a axis/scale and changing colors depending on the chosen year