Skip to content

Instantly share code, notes, and snippets.

View lazycipher's full-sized avatar
🛡️
Stealth Mode

Himanshu Singh lazycipher

🛡️
Stealth Mode
View GitHub Profile
@lazycipher
lazycipher / animint.js
Created March 9, 2020 23:33
Hit or Miss Monte Carlo Integration
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 9, 2020 19:17
Hit or Miss Monte Carlo Integration
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 7, 2020 23:29
Interactive World Bank Data Viz. 'Life Expectancy vs Fertility Rate and Year vs Fertility Rate'
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 22:03
Happiness Dataset Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 21:56
SARS 2002 Data Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 21:54
SARS 2002 Data Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 21:45
SARS 2002 Data Viz
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 16:32
Hit or Miss Monte Carlo Integration
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 4, 2020 00:22
Unified Payments Interface(UPI) Data India
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments
@lazycipher
lazycipher / animint.js
Created March 3, 2020 10:57
Comparision of Unified Payments Interface(UPI) Usage Data
// Define functions to render linked interactive plots using d3.
// Another script should define e.g.
// <script>
// var plot = new animint("#plot","path/to/plot.json");
// </script>
// Constructor for animint Object.
var animint = function (to_select, json_file) {
function wait_until_then(timeout, condFun, readyFun) {
var args=arguments