How to make charts using web viewer?

How can we make charts using web viewer?

Please search the forums before posting a question. There are many examples of this, some just from today. If you need help, explain what you tried and show screenshots or provide a project link so people can help you.