Class 12
Back to home page
JavaScript canvas
Q. What does the canvas allow a developer to acheive?
- canvas allows the user to draw on a webpage.
Q. What is the importance of the closing canvas tag?
- It needs to be closed again because it can produce content inside the display instead of a canvas element.
Q. Explain what the getContext() method does.
- it returns a rendered piece of content to the browser.
Chart.js documentation
Q. What is Chart.js and how it can be brought into your project?
- chart.js is a library of frequently used chart types, pluggins, and customization options
Q. List 3 different Chart types you can create using Chart.js.
- Pie chart
- bubble chart
- scatter plot
Animated charts with js
Q. What are some advantages to displaying data via a chart over a table?
- It is much more visually appealing to the user than a standard table, as well as nobody can press-gang them to use as a layout tool.
Q. How could Chart.js aid your previously created applications visually?
- you can make previous tables into appealing charts.
Things I want to know more about