Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

74
Views
How do I go about extracting only the numbers from this data set?

I am a student who has primarily used languages such as Python and MATLAB, so I am having a bit of trouble with Javascript. The assignment is to create a scatterplot based on this data. I understand how to create the plot, but I can't necessarily figure out how to only extract the integer elements of the set. I typically work with large dictionaries in Python and understand the traversal of those. But since strings and integers are essentially combined here, I am not sure how to traverse this data set. Any help would be greatly appreciated. Thank you!

var scores = [
   { SATM:430, SATV:470, ACT:15, GPA: 2.239 },
   { SATM:560, SATV:350, ACT:16, GPA: 2.488 },
   { SATM:400, SATV:330, ACT:17, GPA: 2.982 },
   { SATM:410, SATV:450, ACT:17, GPA: 2.155 },
   { SATM:430, SATV:460, ACT:17, GPA: 2.712 },
   { SATM:430, SATV:370, ACT:18, GPA: 1.913 }
     ...
     ...

]
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!