Visualize Data with a Scatterplot Graph project

Visualize Data with a Scatterplot Graph project
0

#1

Tell us what’s happening:
I’m having problem with the cy attribute and therefore in the positioning of the scatterplots. If someone could take a look and help. it would be great. Thanks in advance :slight_smile:

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/data-visualization/data-visualization-projects/visualize-data-with-a-scatterplot-graph/


#2

You have formatting label and the final data is still raw.
on last line
yScaleParsed(parseInt(time[i]))/100000000
parseInt make an integer and you need to convert to universal time
image


#3

Can you suggest what can I change?


#4

format data with

data.forEach(function (d) {

      
            d.Time = parseTime(d.Time);
        });

#5

image


#6

I give you the Idea not a solution.
theparseTime is variable
var specifier = “%M:%S”;
var parseTime = d3.timeParse(specifier)


#7

I’ve tried that, it’s not working