# P5 wont load on browser because of loading a csv file

**URL:** <https://discourse.processing.org/t/p5-wont-load-on-browser-because-of-loading-a-csv-file/4419>\
**Category:** Coding Questions\
**Created:** [October 13, 2018, 6:24am UTC](https://discourse.processing.org/t/p5-wont-load-on-browser-because-of-loading-a-csv-file/4419 "2018-10-13T06:24:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![briano1905](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@briano1905](https://discourse.processing.org/u/briano1905)\
**Post date:** [October 13, 2018, 6:24am UTC](https://discourse.processing.org/t/p5-wont-load-on-browser-because-of-loading-a-csv-file/4419/1 "2018-10-13T06:24:00Z")

</div>

Hello there,

So im pretty new to programming and sorry if this might be trivial to you

The problem is my p5 sketch won’t load on the browser

- it is working fine on the web editor
- I can load my other sketches fine

I’ve been searching for solution to the problem with no luck

here is the code: [https://editor.p5js.org/briano1905/sketches/H1IJ8GA9X](https://editor.p5js.org/briano1905/sketches/H1IJ8GA9X)

I’m guessing its a problem with how I load the csv file because the sketch load if i commented out the line that loads the table but I obviously I kinda want to use the data from the csv

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [October 13, 2018, 6:37am UTC](https://discourse.processing.org/t/p5-wont-load-on-browser-because-of-loading-a-csv-file/4419/2 "2018-10-13T06:37:49Z")

</div>

> [@Code 800A0404 issue](https://discourse.processing.org/t/code-800a0404-issue/2036/3):
>
> Easiest & fastest recipe to run “.js” sketches under p5.js: running_man Install any Firefox-based browser in your OS and use it to open your “index.html” file: fox_faceInstall Notepad2 or Notepad++ (or both) in your OS and use it to type in your “sketch.js” file there: scroll[https://XhmikosR.GitHub.io/notepad2-mod/](https://XhmikosR.GitHub.io/notepad2-mod/)[https://Notepad-Plus-Plus.org](https://Notepad-Plus-Plus.org) You can setup those text editors to use UTF-8 and LF line endings for better compatibility. bulbHere’s my minimum “index.html” te…

- [sketchpad](http://p5js.ProcessingTogether.com/sp/pad/export/ro.90xVTuJFcVi)
- [ThimbleProjects.org/gotoloop/96556](http://ThimbleProjects.org/gotoloop/96556)
- [ThimbleProjects.org/gotoloop/96556/sketch.js](http://ThimbleProjects.org/gotoloop/96556/sketch.js)
- [ThimbleProjects.org/gotoloop/96556/players.csv](http://ThimbleProjects.org/gotoloop/96556/players.csv)

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [October 13, 2018, 7:27am UTC](https://discourse.processing.org/t/p5-wont-load-on-browser-because-of-loading-a-csv-file/4419/3 "2018-10-13T07:27:11Z")

</div>

> [@briano1905](#):
>
> here is the code: [https://editor.p5js.org/briano1905/sketches/HyexpbJs7](https://editor.p5js.org/briano1905/sketches/HyexpbJs7)

i can not load that [404 error]  
pls repair

---

<div class="post-metadata">

**Author:** ![briano1905](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@briano1905](https://discourse.processing.org/u/briano1905)\
**Post date:** [October 13, 2018, 8:03am UTC](https://discourse.processing.org/t/p5-wont-load-on-browser-because-of-loading-a-csv-file/4419/4 "2018-10-13T08:03:29Z")

</div>

fixed 🙂

sorry about that
