Class 12 Reading Assignment
JavaScript Canvas
- What does the
- You can create 2 dimensional graphics using JavaScript.
- What is the importance of the closing </canvas> tag?
- The tag so that any content between the opening and closing tags is fallback content which will be displayed if the browswer does not support
- Explain what the .getContext() method does:
- it takes an argument which is the context object then returns that rendered context object.
Chart.js Documentation
- What is Chart.js and how can it be brought into your project?
- It’s a charting library for application developers. It’s open source, and licensed under the MIT license. It’s also maintained by an active community.
- List 3 different chart types you can create using Chart.js:
- bar chart
- pie chart
- line chart
Easily Create Stunning Animated Charts with Chart.js
- What are some advantages to displaying data via a chart over a table?
- It’s visually better to display, and they are easy to look at and convey data quickly.
- How could chart.js aid your previously created applications visually?
- I could have implemented a chart to display the sales data on my salmon-cookies website rather than a simple table. Or i could have done both, but the chart would’ve looked a lot better visually.
Bookmark and Review