class for building data for first graphic