Question: How do I plot using pgfplots in Latex. I have the data saved as a . txt file and need to plot it in Latex.

How do I plot using pgfplots in Latex. I have the data saved as a .txt file and need to plot it in Latex. I need the Latex code please. The data is given as below:
Month ,2017,2018,2019,2020,2021,2022,2023
Jan ,99.2,101.5,99.5,97.1,93.9,93,85.6
Feb ,91.4,93.1,91.3,92.2,88.2,87.9,79.4
Mar ,101.3,102.5,99.5,95.5,97.2,96.2,
Apr ,97.3,96.8,98.5,76.1,95.5,91.9,
May ,106.4,105.5,104.9,91.1,102.2,97.9,
Jun ,103.9,104.2,104.3,98.3,101.4,97.3,
Jul ,105.6,107.9,107.1,102.3,105.7,97.6,
Aug ,105,104.6,102.1,99.7,101.7,99.5,
Sep ,100,99.2,98.7,95.7,95.7,87.9,
Oct ,103.7,104.5,102.5,99.7,96.2,92.5,
Nov ,101,100.9,98.2,95.7,92.2,90.5,
Dec ,98.8,97.1,93.3,94.3,90.8,83.3,
Total ,101.1,101.5,100,94.8,96.7,93,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!