Jump to content

d3 file links - problem getting it up and running

Recommended Posts

Site URL: https://khaki-saxophone-9bb5.squarespace.com/

So I am looking at this useful link.

I have added a file link to both a non-linked page AND the page I want to render the chart in (after failing with the non-linked page link).

The links themselves work a treat so the files are there ok - see url below.


I have tested d3 is working - it definitely is.

My super simple code references the file:

d3.csv("SunburstLevels.csv", function(error, data) {


but I get a 404 error..

I have also tried "/s/SunburstLevels.csv" and "https://khaki-saxophone-9bb5.squarespace.com/s/SunburstLevels.csv" but these generate CORS 200 errors. 

I think maybe I have put the link in the wrong place?  Or duplicate links?  Help would be much appreciated.



Link to comment
  • Replies 0
  • Views 199
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.