Viewing Github code at Observable

When looking at d3 code that is at Github, much of that code was easily viewable at bl-ocks-org (and vice versa). For example, https://gist.github.com/mbostock/7555321 could be viewed at https://bl.ocks.org/mbostock/7555321/. bl-ocks-org no longer appears to be working.

Can the same code that is at Github be easily viewed at Observable? If so, how is that done? What would the observable URL look like to view something like gist-github-com/mbostock/7555321?

My apologies if this is not the correct or best place to ask the above questions. Also, my apologies for some of the links as there is a “new users can only put 2 links in a post” limitation and that limiting code does not take into consideration if the repeated use of a link is the exact same link that was cited earlier. Some links have dashes instead of periods to get past that limitation.

I don’t think there is a way to see them on observable (yet?),(well, that was fast!)

while bl.ocks is down you can use https://blocks.roadtolarissa.com/mbostock/7555321 which provides about the same functionalities.

I’ve put together a blocks viewer:

3 Likes