Exercise 2 - Multi Line-Chart
Step 1: Create a single line chart
After completing excercise 1, you should be able to create a single line chart in the presented way:
- Create index.html
- Create index.js and import into index.html
- Create a function for plotting the line chart
- Prepare the chart canvas and load data
- Data preparation
- Add axis to the chart
- Add the line to the chart
Step 2: Create a second line in the chart
With the code you just learned in exercise 1, you should be able to just add another line - take as data the "setPressure" attribute - and make sure it is distinguishable (through color, type of stroke, etc.).