Skypack is returning 525 errors instead of javascript to the UK [it's back]

For the second time in a month, Skypack is returning 525 errors instead of javascript to the UK

and this is not a drop in replacement

import * as d3 from “https://cdn.skypack.dev/d3@7”;

import * as d3 from “https://unpkg.com/d3@7.1.1/dist/d3.min.js”;

OK, it’s back now.

But how to self host it ?

you can upload a JS file as a FileAttachment and require that as a url. Mike Bostock does it in Hello, nanomorph! / Mike Bostock / Observable

Though skypack is the one I consider the reliable one (doh) :’(

If you plan to self-host, why not install it via npm?

Please be aware that this forum focuses largely on Observable. For D3 related questions outside of Observable you may also want to pay the D3 Slack a visit: https://d3-slackin.herokuapp.com/

@tomlarkworthy Given the static import examples, it seems this question is related purely to D3, not to Observable.

2 Likes