Removed labels cruft
Multiple changes:

Replaced ticknum with xTicks & yTicks
Adjusted dataset for 5 & 6
Simplified yScale.domain
Removed commented code