Title. This is my first time working with CSV's, and I'm following tutorials to the letter yet I keep getting errors:
d3.v4.min.js:2 Not allowed to load local resource: file:///C:/Users/User1/Desktop/Project/data.csv
This is pretty much my function:
<script>
d3.csv("C:/Users/user1/Desktop/data.csv", function(data)
{
console.log(data)
})
</script>
I even tried putting the CSV file in the same directory but it gives me a 404: dashboard:149 GET http://localhost:8000/account/views/account/data.csv 404 (Not Found)
<script>
d3.csv("views/account/data.csv", function(data){
console.log(data)
})
</script>
d3.v4.min.js:2 GET http://localhost:8000/views/account/data.csv 404 (Not Found)
Even tried putting it in the Root directory of the project. Gives me the 404... Help?