Problems with HMC5883L

I guess you're doing these tests indoors. That's the normal behavior as indoors there are too many metal parts that influences the compass sensor. Try it outdoors at least 50m from the next building. Does it show the same results then?