Collection of data conversion functions and utilities for D3