Switch between stacked and grouped layouts using sequenced transitions! Animations preserve object constancy and allow the user to follow the data across views. Animation design by Heer and Robertson. Colors and data generation inspired by Byron and Wattenberg.
This clock's "hour" hand is really a degree hand. It points to the longitude where it is solar noon. The minutes and seconds point to the minutes and seconds of the location where it is solar noon. This is partly bases off of New Earth Time, but adjusted to fit geography more.
Based off of: bl.ocks.org/tomgp/6475678 http://bl.ocks.org/mbostock/4364903 and http://bl.ocks.org/mbostock/4597134
TODO: Make the clock less hard coded between the northern and southern hemisphere.
<link href="../speech-mic/speech-mic.html" rel="import"> | |
<link href="../yt-video/yt-search-video.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; |
import time | |
import random | |
class MatrixFibonacci: | |
A = [[1, 1], | |
[1, 0]] | |
def __init__(self): | |
self.__memo = {} |
This grouped bar chart is constructed from a CSV file storing the populations of different states by age group. This is an attempt to improve on this visualization. The chart employs conventional margins and a number of D3 features:
You can see it fully rendered here: http://bl.ocks.org/ClashTheBunny/83d21db6af87fdc90cc4
Be sure to "Open in a new window", so you can see the second graph: http://bl.ocks.org/ClashTheBunny/raw/83d21db6af87fdc90cc4/
- d3.csv - load and parse data
- d3.scale.ordinal - x-position encoding and color encoding
build | |
node_modules |
#!/bin/bash | |
# Install the keys for the distribution (apt-cache search keyring | grep -i pg | grep -i keyring): | |
# e.g. (Ubuntu): apt-get install debian-archive-keyring debian-keyring ubuntu-keyring ubuntu-extras-keyring | |
# e.g. (Debian): apt-get install debian-archive-keyring debian-keyring ubuntu-archive-keyring | |
# Download all of the *SUMS and *SUMS.gpg from the mirror that you use and check them by running verify.sh <file-to-verify>: | |
# I wanted to verify netboot.tar.gz, so I ran "verify.sh netboot.tar.gz" and got: | |
# sh ./588e8ff9ca5123edd019/verify.sh netboot.tar.gz | |
# MD5SUMS.gpg |
{ | |
"id": "ti6yn", | |
"project": "", | |
"properties": { | |
"name": "photobooth", | |
"environment": { | |
"runtime": "html", | |
"src": "preview/iframe.html", | |
"width": 300, | |
"height": 300, |
#!/bin/bash | |
# Run by doing: | |
# wget -q -O - https://raw.github.com/gist/5070115/deployTahoeTestGrid.sh | bash | |
####### Change stuff here: | |
# somewhere with a little bit of space, with tahoe's defaults you need at least 1GB to upload anything: | |
directoryWithSpace="$HOME/tahoeTest/" |