A reusable D3 chart for colored cartograms