split data in colorMap and charMap