Skip to content

Instantly share code, notes, and snippets.

View seemantk's full-sized avatar

Seemant Kulleen seemantk

View GitHub Profile
@seemantk
seemantk / activity.csv
Last active August 29, 2015 13:57
Gentoo Galaxy Visualization
We can't make this file beautiful and searchable because it's too large.
date,developer,commits,bugs,total_commits,total_bugs,hr,meta
200305,tigger,,9,0,9,join,first
200306,tigger,,29,0,38,active,
200307,tigger,15,7,15,45,active,
200308,tigger,20,4,35,49,active,
200309,tigger,30,16,65,65,active,
200310,tigger,11,1,76,66,active,
200311,tigger,16,1,92,67,active,
200312,tigger,13,2,105,69,active,
200401,tigger,10,5,115,74,active,
["developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "developer", "retired", "retired", "developer", "retired", "retired", "retired", "retired", "retired", "retired", "retired"]s
@seemantk
seemantk / README.md
Last active August 29, 2015 14:01 — forked from mbostock/.block

I think it is a bit easier to follow with the transitions simplified a bit.

For a simpler approach, see the Pie Chart Update series of examples.

@seemantk
seemantk / README.md
Last active October 21, 2015 18:29
Bar Chart
@seemantk
seemantk / d3.js
Last active November 13, 2015 02:51 — forked from mbostock/.block
The Euro Debt Crisis
!function() {
var d3 = {
version: "3.5.8"
};
var d3_arraySlice = [].slice, d3_array = function(list) {
return d3_arraySlice.call(list);
};
var d3_document = this.document;
function d3_documentElement(node) {
return node && (node.ownerDocument || node.document || node).documentElement;
@seemantk
seemantk / README.md
Last active November 15, 2015 22:30 — forked from boeric/README.md
D3 Based Real Time Chart

D3 Based Real Time Chart

The real time chart is a resuable Javascript component that accepts real time data. The chart's time domain is moving with the passage of time, which means that any data placed in the chart eventually will age out and leave the chart. In addition to the main chart, the component also manages a "focus" window with a viewport (d3.brush) that can moved and sized to view an arbitrary portion of the time series data.

The component adheres to the pattern described in Towards Reusable Chart.

The following options are currently supported:

  • width and height in pixels (Number)
  • border (Boolean)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<style>
body, html {
width: 100%;
height: 100%;
}
@seemantk
seemantk / 0_spheres_of_influence
Created November 16, 2015 04:42
Global Bilateral Migration
(title)
@seemantk
seemantk / README.md
Last active January 15, 2016 08:32
fresh block
@seemantk
seemantk / README.md
Last active May 3, 2020 02:19
Table with hyperlinks