Skip to content

Instantly share code, notes, and snippets.

View jung-kim's full-sized avatar
🏫
Learning...

jung-kim jung-kim

🏫
Learning...
View GitHub Profile
#!/usr/bin/env bash
# rmate
# Copyright (C) 2011-2015 by Harald Lapp <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@jung-kim
jung-kim / d3Demo.html
Last active August 29, 2015 13:57
D3 demo
<!DOCTYPE html>
<body/>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
var svg = d3.select('body')
.append('svg')
.attr('id', 'graph')
.attr('width', '100%')
.attr('height', '100%');
<!DOCTYPE html>
<meta charset="utf-8">
<style>
text {
font: 10px sans-serif;
}
rect.background {
fill: white;