add data attributes on axis ticks; closes #347