finished base bar plotting