helpers to easily create commonly used D3 items