Question
Create JavaScript Code to read a Comma Separated Value (CSV) text file (it will have a .txt extension). See the testData.txt file in this module.
Create JavaScript Code to read a Comma Separated Value (CSV) text file (it will have a .txt extension). See the testData.txt file in this module. There are three attributes: Row, Name, Grade, and 10 records.
Create a function named processData that will take the file and put it into a multidimensional array named userData.
Write the contents of the array to a web page.
Compute and write to the web page the average score for the grade attribute, you can write a function for this if you wish.
Add student and assignment comments at the top of the code file.
Add informative comments to the code.
Row, Name, Grade 1, Aaron, 3.5 2, Betty, 3.6 3, Charlie, 3.6 4, Debbie, 3.5 5, Eddie, 3.2 6, Farrah, 3.1 7, George, 3.0 8, Haley, 3.0 9, Ira, 3.0 10, Juliet, 3.1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started