Skip to content

Instantly share code, notes, and snippets.

View nanu146's full-sized avatar

Bharadwaj Kopparthi nanu146

View GitHub Profile
@nanu146
nanu146 / index.html
Last active May 21, 2016 20:34
Donut Chart Animation
<!DOCTYPE html>
<meta charset="utf-8">
<style>
</style>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.js" charset="utf-8"></script>
<script>
var data = [ {name: "one", value: 10375},
{name: "two", value: 7615},
@nanu146
nanu146 / README.md
Last active June 19, 2016 14:28
Nearest node finder using d3.js (Voronoi Diagrams)
@nanu146
nanu146 / geom_conversions.js
Last active July 17, 2016 14:21
particle explosion with gravity
function degreeToRadians(value){
return (value/360)*2*Math.PI;
}
@nanu146
nanu146 / .block
Last active October 8, 2016 06:57
sierpinski triangle
license: gpl-3.0
height: 900
@nanu146
nanu146 / index.html
Last active October 8, 2016 20:31
Bubble chart using d3.js
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<style type="text/css">
.categories:hover {
stroke:dimgray;
@nanu146
nanu146 / .block
Created October 26, 2016 19:23 — forked from mbostock/.block
Choropleth
license: gpl-3.0
height: 600
border: no
@nanu146
nanu146 / .block
Last active November 6, 2016 19:52
Parallel Coordinates
license: gpl-3.0
height: 800
width: 1200
@nanu146
nanu146 / .block
Last active December 27, 2016 20:11
Fractal Trees
height: 900
@nanu146
nanu146 / .block
Last active December 28, 2016 17:34
Scatter Plot with Trade-Off Line
license: gpl-3.0
height: 900
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;