China is more of a mixed economy. I would identify Western Europe as being more socialist or "communist" than China. In China there are people who are going bankrupt with medical bills, just like here. You really don't have a right to healthcare and education in China as you do in Western Europe. I'd say the United States provides better access to healthcare and education to its citizens than China offers its citizens.
China tried communism and failed, due to a lack of adequate emphasis on industrialization, engineering, science, and technology, not to speak of its dicey relationship with the USSR. China did improve a few things under strict communism between the 1950s and 80s, but it was a shadow of communism, compared to the Soviet Union.
Chinese workers today, are essentially un-unionized and have fewer rights than American workers, especially workers in Europe. I don't see China as a truly socialist or communist country, it's more of a mixed economy, with some state control over some major industries. It has some central planning and government partnerships in some important, "heavy" sectors of the economy, allowing it to accomplish a lot more than we who are under the strong spell and grip of neoliberal economics. Here in America, we're into privatizing practically every segment of our economy, leading to high prices and chaos. However, as I mentioned earlier America does have its advantages and virtues, which China lacks. Watch this:
China is a mixed economy and "communist" in name only.