Transform data into strings for fourth graph