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

91
Views
Doing an output from some csv data using d3

I am using d3 to load some comma-separated data files, which when I output them in the console using

console.log(data_file_23);
console.log(data_file_57);

they look like this

0: Object { date: "2021-07-01 00:20", num: "1" }
1: Object { date: "2021-07-02 04:01", num: "3" }
1: Object { date: "2021-07-02 20:21", num: "3" }
2: Object { date: "2021-07-03 03:22", num: "10" }

​
0: Object { date: "2021-07-01 00:01", num: "2" }
1: Object { date: "2021-07-02 09:10", num: "4" }
2: Object { date: "2021-07-03 13:22", num: "10" }

How could I combine them an combining the dates, so I can output on my page using

document.getElementById('data_file_result').innerHTML

the following

Date 2021-09-21 equals 3
Date 2021-09-22 equals 10
Date 2021-09-23 equals 20

The min was on date 2021-07-01 value 3
The max was on date 2021-07-03 value 20
Today (2021-09-23) was value 20

Any help would be highly appreciated

Thank you for any help

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!