bl.ocks.org

This is a simple viewer for code examples hosted on GitHub Gist. Code up an example using Gist, and then point people here to view the example and the source code, live!

The main source code for your example should be named index.html. You can also include a README.md using Markdown, and a thumbnail.png for preview. The index.html can use relative links to other files in your Gist; you can also use absolute links to shared files, such as D3, jQuery and Leaflet.

For Example

See Mike Bostock’s animation of epicyclic gearing.

Browser Extensions

For convenient access from gist.github.com, install an extension for Chrome, Safari or Firefox!

Credits

bl.ocks.org is run by .
bl.ocks.org is not affiliated with GitHub.

Code highlighting by Highlight.js (BSD license).
Markdown formatting by Showdown (BSD license).