Skip to main content
100%

YQL github.gist.content table

✓ Published0🌍 Public
Aabernier
Last edited Dec 12, 2012
Created on Jul 21, 2011

This visualization demonstrates a GitHub Gist’s raw text content, showing the lines and characters as a compact, scrollable list. The YQL table `github.gist.content` fetches the gist’s raw file from `http://gist.github.com/raw/{gist_id}` and exposes it as a JSON object, which is then rendered using D3.js. The display uses `d3.forceSimulation` to position and animate the text elements, creating a dynamic, word-cloud-like layout. The code relies on D3’s selection and data-binding methods to map the fetched content into visual nodes, with the gist ID passed as a required input parameter to the table’s query.

AI-generated description

Similar vizzes