Catalyzes the transfer of sulfate to position 4 of the N-acetylgalactosamine (GalNAc) residue of chondroitin and desulfated dermatan sulfate. Chondroitin sulfate constitutes the predominant proteoglycan present in cartilage and is distributed on the surfaces of many cells and extracellular matrices. Activity toward partially desulfated dermatan sulfate is however lower. Does not form 4, 6-di-O-sulfated GalNAc when chondroitin sulfate C is used as an acceptor (By similarity). n 3'-phosphoadenylyl sulfate + chondroitin beta-D-glucuronate = n adenosine 3',5'-bisphosphate + chondroitin 4'-sulfate + n H(+) Belongs to the sulfotransferase 2 family.