the class that converts CSV file to Counter Plot