Data Loading in D3

Tell us what’s happening:
I have a problem loading the JSON data for this challenge. When I am trying to access the data I have an error in the console like this:

Access to fetch at ‘url’ from origin ‘url’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
/data/users.json:1 Failed to load resource: net::ERR_FAILED.

Please let me know how can I fix this problem.
Thank you for your help!

Your code so far

 d3.json("https://raw.githubusercontent.com/freeCodeCamp/ProjectReferenceData/master/GDP-data.json", function(error, data) {
    
    if (error) {
        return console.warn(error);
    }
console.log(data);
  
    });

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Visualize Data with a Bar Chart

Link to the challenge: