Graph not showing up

I have an html file with the javascript code in Eclipse and when I run the file through Eclipse, it works perfectly and I can see the graph on the website. However, when I run the .html file alone in my browser the graph doesn’t show up. Why and how can I make it show up when running the .html file in my browser?

Can you be more precise here? How are running the .html file?

Currently, I’m running the file through the Eclipse Web Browser that they have built in. That works fine, but when I run it through my google chrome browser, everything but the graph shows up so like my css, and html code.