Getting Started First, we need to have a canvas in our page. Now, we can create a chart. We add a script to our page: There are many examples of Chart.js that are available in the folder of Chart.js.zip that is attached to every release.