#Chapter 2 - D3 Style Guide
- D3 code has a template
- 2 spaces versus 3 spaces in code to signify new selection
- Selecting elements in the most explicit way with id and/or class
- Always give classes to everything
- Use element to encapsulate things as much as possible
- Single attribute definition in one .attr(...) vs Multiple attribute definition in one .attr(...)