I wanted to recreate the three example arrows on this page in SVG. So far the middle one is elluding me.
View keybase.md
Keybase proof
I hereby claim:
- I am aubergene on github.
- I am aubergene (https://keybase.io/aubergene) on keybase.
- I have a public key whose fingerprint is CFF8 6FAB 5F1B A3A5 0640 7579 94D4 9589 076F 86CF
To claim this, I am signing this object:
View index.html
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Centigrade to Fahrenheit</title> | |
| <meta charset="UTF-8"> | |
| <style type="text/css"> | |
| body { | |
| margin: 0; | |
| } |
View base58.js
| /* | |
| * base58.js | |
| * - encodes integers to and decodes from a base58 (or your own) base58 alphabet | |
| * - based on Flickr's url shortening | |
| * | |
| * usage: | |
| * base58.encode(integer); | |
| * base58.decode(string); | |
| * | |
| * (c) 2012 inflammable/raromachine |
View README.md
I love D3's Quantitative Scales and wanted a simple way to create and use scales in that style.
Example
var centigradeToFahrenheit = new Scale().domain(-40, 0).range(-40, 32);
var fahrenheitToCentigrade = new Scale().domain(-40, 32).range(-40, 0);
centigradeToFahrenheit(35); // 95 hot!
View README.md
I was confused how rangeRoundBands differed from rangeBands so made this example
View circle-legend.js
| // Adapted from https://github.com/mbostock/d3/blob/master/src/svg/axis.js | |
| var circleLegend = function() { | |
| 'use strict'; | |
| var scale, | |
| orient = 'left', | |
| tickPadding = 3, | |
| tickExtend = 5, | |
| tickArguments_ = [10], | |
| tickValues = null, |
View index.html
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| <style type="text/css"> | |
| body { | |
| font: 10px sans-serif; | |
| margin: 0; | |
| } |