The official D3 documentation and many of @mbostock’s older StackOverflow answers link to blocks, but unfortunately these get redirected back to Github.
It’s a shame those visualizations are not displayed automatically, but they can be shown with Observable.
For example, to see https://bl.ocks.org/950642, which redirects to https://gist.github.com/mbostock/950642, you’d have to replace gist.githubusercontent.com
in the raw index.html file with gistcdn.githack.com
Then create a cell in your Observable notebook with the url:
html`<iframe src='https://gistcdn.githack.com/mbostock/950642/raw/4adf2bdd16745b4d2b05bde672768c8a83884c62/index.html' width='100%' height=520 frameBorder='0'/>`
Is there a plan to automatically redirect blocks to Observable using this method or does this have to be done manually for each block?