D3 component to create a calendar