O'Reilly logo
  • Brandt Ryan thinks this is interesting:

.attr("width", height+margin)

From

Cover of Getting Started with D3

Note

ERRATA:
Should be:
.attr("height", height+margin)
NOT
.attr("width", height+margin)