remove duplicate nvd3 code
fix line colors and adjust tooltip display