How to make data on chart not duplicate ? PHP : Excuse me please help me master... im beginner 

I've made bar chart use "highchart" (cuz the tutorial a lot) its work but.... part of my data on the chart has been duplicated *sorry for my bad english* For more details see this picture
[duplicate data graph][1]


my script like this

[script][2]

Hope u can help me make chart 


  [1]: https://i.stack.imgur.com/Ft2Tm.png
  [2]: https://i.stack.imgur.com/hLWbl.png