Skip to content

Instantly share code, notes, and snippets.

View nanu146's full-sized avatar

Bharadwaj Kopparthi nanu146

View GitHub Profile
@nanu146
nanu146 / README.md
Last active January 24, 2021 02:19
Scatter plot with regression line using d3.js
@nanu146
nanu146 / jwtRS256.sh
Created January 29, 2020 15:31 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@nanu146
nanu146 / geom_conversions.js
Last active October 24, 2019 12:15
Particle explosion in javascript canvas
function degreeToRadians(value){
return (value/360)*2*Math.PI;
}
@nanu146
nanu146 / Thumbs.db
Last active October 20, 2017 06:35
Grouped Bar Chart with Line using d3.js
@nanu146
nanu146 / .block
Created August 30, 2017 08:59 — forked from mbostock/.block
Stacked Bar Chart
license: gpl-3.0
@nanu146
nanu146 / .block
Last active June 18, 2017 09:20
Impact Analysis Area graph
license: gpl-3.0
height: 700
border: no
@nanu146
nanu146 / index.html
Last active May 1, 2017 12:11 — forked from phil-pedruco/index.html
Plotting a bell (Gaussian) curve in d3
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Normal Plot</title>
<meta name="description" content="">
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<style type="text/css">
@nanu146
nanu146 / .block
Last active April 1, 2017 21:00
Heatmap using d3.js
license: gpl-3.0
height: 900
@nanu146
nanu146 / .block
Last active December 30, 2016 17:38
Convex Hull Recursive Graham scan using d3.js
license: gpl-3.0
height: 700
border: no
@nanu146
nanu146 / index.html
Last active December 30, 2016 17:34 — forked from methodofaction/index.html
Make an element follow a path
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
#line{
width: 100%;
margin: 20px 0;
height: 300px;
background: #eee;