Skip to content

Instantly share code, notes, and snippets.

@libjack
libjack / index.html
Created January 30, 2014 18:09
MultiBarChart
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<link rel='stylesheet' href='http://nvd3.org/src/nv.d3.css'>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'></script>
<script src='http://d3js.org/d3.v3.min.js' type='text/javascript'></script>
<script src='http://timelyportfolio.github.io/rCharts_nvd3_tests/libraries/widgets/nvd3/js/nv.d3.min-new.js' type='text/javascript'></script>
<script src='http://nvd3.org/lib/fisheye.js' type='text/javascript'></script>
@libjack
libjack / index.html
Created January 30, 2014 18:05
Polychar
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='http://ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
@libjack
libjack / index.html
Created January 30, 2014 18:04
Polychar
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='http://ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
@libjack
libjack / collect.pl
Created May 16, 2013 13:46
example custom reducer script for Hive
#!/usr/bin/perl
undef $currentId;
@vals=();
while (<STDIN>) {
chomp();
processRow(split(/\t/));
}