Jump to content

MilesB

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by MilesB

  1. 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.

    image.thumb.png.8bc01b578c66fd9b024ca8facfa49b09.png

    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.