code: function (css) {
                          return function () {
                              var currentCss = d3.select(this).attr("class") || "";
                              if (currentCss.indexOf(css) === -1) {
                                  currentCss += " " + css;
                              }
                              return currentCss.trim();
                          };
                      }
docs: Don't animate axes on first draw