how do I write code in visualize kibana.
because I can't get the graphics I want.
Can you elaborate on your question , doesn't seem to be clear ...
Do you mean to say that how do you develop your own visualizations ? you should check the kibana source code and the existing visualizations provided with it.
https://www.elastic.co/guide/en/kibana/current/development-create-visualization.html
Thanks
Rashmi