Implement basic data manipulation with D3