getting json data with d3.json() from php not working

Detection score: 5.0

<p>I live the same problem. I have developed a php app which produces json output and in html file I want to get the json data with d3.json command. I will produce a bar chart with the returned data. 
I have tried running the app with two http servers (servez and npm install http-server -g). 
For serving php I have installed wamp server. 
When I change the input of the d3.json command with a local file it works but when I give a link to php file I can not see the chart. 
Any help will be appreciated.    </p>
Posted 6 months ago | reported 6 months ago
Posted by Ali Abbas Çiftçi (1)

Caught by 4 reasons: