Jump to content

MilesB

Member
  • Posts

    2
  • Joined

  • Last visited

MilesB's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. Hi @popsovy - did you resolve this? Ccing you as well @MattB2 I am trying to use d3.csv to access a file I have uploaded as a link and whatever I get a 404 with the filename and a CORS with /s/ + filename or the full https static1.squarespace link... Confused!
  2. 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) { console.log(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. Bryony
×
×
  • 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.