This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mapValues(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
result[key] = fn(obj[key], key); | |
return result; | |
}, {}); | |
} | |
function pick(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
if (fn(obj[key])) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var assert = require('assert'); | |
var isExpression = require('is-expression'); | |
var characterParser = require('character-parser'); | |
var error = require('pug-error'); | |
module.exports = lex; | |
module.exports.Lexer = Lexer; | |
function lex(str, options) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const inputArr = JSON.parse(process.argv[2]); | |
console.log(process.argv); | |
console.log(inputArr); | |
let midPoint = 0; | |
if(inputArr.length > 0) { | |
if(inputArr.length % 2 == 0) { | |
midPoint = (inputArr.length / 2) - 1; | |
} | |
else { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | |
<script type="text/javascript"> | |
google.charts.load('current', { | |
'packages':['geochart'], | |
}); | |
google.charts.setOnLoadCallback(drawRegionsMap); | |
function drawRegionsMap() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | |
<script type="text/javascript"> | |
google.charts.load('current', { | |
'packages':['geochart'], | |
}); | |
google.charts.setOnLoadCallback(drawRegionsMap); | |
function drawRegionsMap() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | |
<script type="text/javascript"> | |
google.charts.load('current', { | |
'packages':['geochart'], | |
}); | |
google.charts.setOnLoadCallback(drawRegionsMap); | |
function drawRegionsMap() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Load c3.css --> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.13/c3.css" rel="stylesheet"> | |
<!-- Load d3.js, d3-queue and c3.js --> | |
<script src="https://d3js.org/d3-queue.v3.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js" charset="utf-8"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.13/c3.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Year | Groundnut | Rapeseed&Mustard | Soyabean | TotalOilseeds | Coffee | CottonLint | RawJuteAndMesta | Sugarcane | Tea | Tobacco | |
---|---|---|---|---|---|---|---|---|---|---|---|
2015-16 | 6.77 | 6.82 | 8.59 | 25.3 | 348.0 | 30.15 | 10.47 | 352.16 | 1233.14 | NULL | |
2014-15 | 7.4 | 6.28 | 10.37 | 27.51 | 327.0 | 34.81 | 11.13 | 362.33 | 1197.18 | NULL | |
2013-14 | 9.71 | 7.88 | 11.86 | 32.75 | 304.5 | 35.9 | 11.69 | 352.14 | 1208.78 | NULL | |
2012-13 | 4.7 | 8.03 | 14.67 | 30.94 | 318.2 | 34.22 | 10.93 | 341.2 | 1135.07 | 0.66 | |
2011-12 | 6.96 | 6.6 | 12.21 | 29.8 | 314.0 | 35.2 | 11.4 | 361.04 | 1095.46 | 0.75 | |
2010-11 | 8.27 | 8.18 | 12.74 | 32.48 | 302.0 | 33.0 | 10.62 | 342.38 | 966.73 | 0.88 | |
2009-10 | 5.43 | 6.61 | 9.96 | 24.88 | 289.6 | 24.02 | 11.82 | 292.3 | 991.18 | 0.69 | |
2008-09 | 7.17 | 7.2 | 9.91 | 27.72 | 262.3 | 22.28 | 10.37 | 285.03 | 972.77 | 0.57 | |
2007-08 | 9.18 | 5.83 | 10.97 | 29.76 | 262.0 | 25.88 | 11.21 | 348.19 | 987.02 | 0.44 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Choropleth Tutorial - Leaflet</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="shortcut icon" type="image/x-icon" href="docs/images/favicon.ico" /> |