Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aacc --with-opus
license: gpl-3.0 | |
height: 960 |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> /* set the CSS */ | |
.bar { fill: steelblue; } | |
</style> | |
<body> | |
<!-- load the d3.js library --> |
date | close | |
---|---|---|
13-May-12 | 109 | |
12-May-12 | 102 | |
11-May-12 | 100 | |
10-May-12 | 99.55 | |
8-May-12 | 76.86 | |
6-May-12 | 67.62 | |
4-May-12 | 64.48 | |
2-May-12 | 60.98 | |
1-May-12 | 58.13 |
Example of a streamgraph that can be divided into multiple area charts.
Example of a stacked bar chart that can be divided into multiples. All credits for this go to Mike Bostock.
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>SANKEY Experiment</title> | |
<style> | |
.node rect { | |
cursor: move; | |
fill-opacity: .9; | |
shape-rendering: crispEdges; | |
} |
license: gpl-3.0 |
<!DOCTYPE html> | |
<meta charset='utf-8'> | |
<body> | |
<script src='http://d3js.org/d3.v3.min.js'></script> | |
<script> | |
var size = 12; | |
var step = 40; | |
var X = d3.scale.linear() | |
.domain([0, size]) |
license: gpl-3.0 |