Is this a compound or complex sentence and tell me if it is cc or sc

So many people choose to do the right thing, but there are still some people who don't.

This sentence is a compound sentence because it consists of two independent clauses connected by the coordinating conjunction "but." It is a CC (coordinating conjunction) compound sentence.