Rest API for creating charts from JSON data

I am in search of an rest API to convert JSON data to charts and then get back as image.There were many available of this kind but all are specific language based client libraries or sdk’s.But I need a rest API with curl examples and support to achieve this.Could some one used before suggest me one like it?Google charts API shows implementation with html and JavaScript but I need to implement in a new programming language thus curl examples could help me to convert easier.Please suggest me one.

All topic