Can we transform two arrays into a specific format so I can create my D3 graph?
Here are the two arrays I have:
date = ["sept,09 2015","sept, 10 2015","sept, 11 2015"]
likes = [2,4,5]
I need to convert them to this format:
[{ date: '...', likes: '...'},
{ date: '...', likes: '...'}]