Enclosure diagrams use containment to represent the hierarchy. Although circle packing is not as space-efficient as a treemap, it better reveals the hierarchy. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"type": "banner", | |
"width": 300, | |
"height": 250, | |
"actualWidth": 300, | |
"actualHeight": 254, | |
"inFrame": true, | |
"pageUrl": "http://time.com/", | |
"referrerUrl": "http://time.com/", |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Adblock Plus 2.0] | |
! Version: 201607211743 | |
! Title: EasyList minus Global Cosmetic Rules | |
! Last modified: 27 Jul 2016 17:43 UTC | |
! Expires: 9 days (update frequency) | |
! Homepage: https://gist.github.com/int3h/54da360f4a51badd3fb56a006b1714df | |
! Licence: https://easylist.github.io/pages/licence.html | |
! | |
! Please report any unblocked adverts or problems | |
! in the forums (https://forums.lanik.us/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user (~)$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install groff --with-grohtml 2>&1 | |
==> Downloading http://ftpmirror.gnu.org/groff/groff-1.22.2.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/groff-1.22.2.tar.gz | |
tar xf /Library/Caches/Homebrew/groff-1.22.2.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/groff/1.22.2 --without-x | |
./configure --prefix=/usr/local/Cellar/groff/1.22.2 --without-x | |
checking for gcc... cc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
hman () { | |
local TMPHTML=`mktemp /tmp/hman_XXXXXXXX`.html | |
groff -mandoc -Txhtml -P'-D/tmp' `man -w $@` | \ | |
tidy -ashtml 2>/dev/null | \ | |
sed -e 's/<\/style>/body {font-family: "Helvetica Neue", Helvetica, sans-serif; width: 800px; margin-left: auto; margin-right: auto;}\ | |
.toc {position: fixed; overflow-y: scroll; overflow-x: hidden; top: 10px; height: 90%; width: 200px; text-transform: lowercase; margin-left: -200px; margin-top: 1.5em; font-size: 11pt; border-right: 1px solid black; }\ | |
.toc a { line-height: 2em; }\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>D3 Bar Chart Demo</title> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<style type="text/css"> | |
.chart {margin: 2em auto auto auto;} | |
div.bar { | |
display: inline-block; |
This simple bar chart is constructed from a TSV file storing the frequency of letters in the English language. The chart employs conventional margins and a number of D3 features:
- d3.tsv - load and parse data
- d3.format - format percentages
- d3.scale.ordinal - x-position encoding
- d3.scale.linear - y-position encoding
- d3.max - compute domains
- d3.svg.axis - display axes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${TM_RAILS_TEMPLATE_START_RUBY_EXPR}form_for @${1:model} do |f|${TM_RAILS_TEMPLATE_END_RUBY_EXPR} | |
$0 | |
${TM_RAILS_TEMPLATE_END_RUBY_BLOCK} |