Skip to content

Instantly share code, notes, and snippets.

View mtrias's full-sized avatar

Miguel Trias mtrias

  • Uruguay
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mtrias on github.
  • I am mirugle (https://keybase.io/mirugle) on keybase.
  • I have a public key whose fingerprint is F20B 275D 0486 9257 9A44 3B66 C6F1 BD78 3D69 722E

To claim this, I am signing this object:

@mtrias
mtrias / README.md
Last active August 29, 2015 14:02 — forked from mbostock/.block

This is a quick hack to draw two parallel links between nodes. Yes, you can scale it to more than two nodes, but it gets increasingly awkward. The alternative is to compute the paths manually, say by computing the perpendicular vector of the vector between the node centers, and offsetting the links accordingly.

@mtrias
mtrias / README.md
Last active August 29, 2015 14:01 — forked from mbostock/.block

This stacked area chart is constructed from a TSV file storing the market share of several popular web browsers over the last year. Data is from Clicky Web Analytics. The chart employs conventional margins and a number of D3 features:

@mtrias
mtrias / README.md
Last active December 29, 2015 06:19 — forked from mbostock/.block
@mtrias
mtrias / index.html
Last active December 15, 2015 02:59 — forked from scameron/index.html
<!DOCTYPE html>
<html>
<head>
<title>Animated Sparkline</title>
<script src="http://d3js.org/d3.v2.js?2.9.1"></script>
<style type="text/css">
path {
stroke: steelblue;