Visualize Data with a Scatterplot Graph isn't loading json

Visualize Data with a Scatterplot Graph isn't loading json
0

#1

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:
https://learn.freecodecamp.org/data-visualization/data-visualization-projects/visualize-data-with-a-scatterplot-graph


#2

I set it up your code snippet in a fiddle - it appears to be loading with no issues:

d3 example code