reading-notes

Class 12 Notes

What does the allow a developer to acheive?

Allows us to draw 2d graphics in javascript

What is the importance of the closing `</canvas> tag?

Any content between the opening and closing tags is fallback content that will display only if the browser doesn’t support the canvas element.

Explain what the getContext() method does.

it gives the 2D context for drawing the graphics

What is Chart.js and how it can be brought into your project?

basically allows you to build charts in js. I think this could be useful for charting the results of odd-duck products.

List 3 different Chart types you can create using Chart.js.

bar-funnel, boxplot, graph

What are some advantages to displaying data via a chart over a table?

Carts are better to visually display data.

How could Chart.js aid your previously created applications visually?

Potentially for the salmon cookies lab it may be usueful if you wanted to see how each location is performing relative to eachother and possible see any trends in the most popular cookie hours.