Tell us what’s happening:
How come d3 isn’t loading the json? Am I missing something from http://learnjsdata.com/read_data.html? I did the following:
d3.json("https://raw.githubusercontent.com/freeCodeCamp/ProjectReferenceData/master/cyclist-data.json", function(data){
console.log(data);
});
yet my console is still empty
edit: Read the changelogs for d3 and now it uses promises instead of asynchronous calls
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
.
Link to the challenge: