Skip to content

Instantly share code, notes, and snippets.

@jnschrag
jnschrag / README.md
Last active June 13, 2018 18:27 — forked from chrisrzhou/README.md
D3 Radar Chart

D3 Radar Chart

bl.ocks.org link

A radar chart visualizes multivariate data in a 2D chart of three or more quantitative variables represented on axes.

The project is created using AngularJS and D3.js.


Description

@jnschrag
jnschrag / data.csv
Created April 30, 2018 19:58
D360 Procurement Data
We can't make this file beautiful and searchable because it's too large.
level1,level2,level3,level4,Year,current-dollars,constant
Aircraft,Air Force,Combat aircraft,F-35,1999,0.000,0.000
Aircraft,Air Force,Combat aircraft,F-35,2000,0.000,0.000
Aircraft,Air Force,Combat aircraft,F-35,2001,0.000,0.000
Aircraft,Air Force,Combat aircraft,F-35,2002,0.000,0.000
Aircraft,Air Force,Combat aircraft,F-35,2003,0.000,0.000
Aircraft,Air Force,Combat aircraft,F-35,2004,0.000,0.000
Aircraft,Air Force,Combat aircraft,F-35,2005,0.000,0.000
Aircraft,Air Force,Combat aircraft,F-35,2006,117447.000,145376.166
Aircraft,Air Force,Combat aircraft,F-35,2007,93622.000,112822.051
@jnschrag
jnschrag / animations-example.css
Created April 2, 2018 19:50
ASP Longform Animation
#satellite .longform-section-overlay.aos-animate + .section-content svg#Layer path {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: dash 5s linear forwards 1;
}
@keyframes dash {
from {
stroke-dashoffset: 1000;
}
@jnschrag
jnschrag / africa-table.html
Created January 30, 2018 17:17
ChinaPower FDI Tables
<table class="striped">
<thead>
<tr>
<th class="title" colspan="4"> China FDI Top Destinations in Africa (2005 - 2016)</th>
</tr>
<tr>
<th>Country</th>
<th>Volume in $ billions</th>
<th>Global Ranking</th>
<th>Economic Development Level</th>
@jnschrag
jnschrag / .block
Created October 27, 2017 20:04 — forked from mbostock/.block
Stacked Bar Chart
license: gpl-3.0
@jnschrag
jnschrag / .block
Created October 18, 2017 19:23 — forked from mbostock/.block
Drag Slider
license: gpl-3.0
@jnschrag
jnschrag / .block
Last active October 17, 2017 20:11
Multi-Series Line Chart
license: gpl-3.0
@jnschrag
jnschrag / .block
Last active October 12, 2017 15:31
Pacific Focused rolling pan and zoom with Mercator projection
license: mit
@jnschrag
jnschrag / .block
Last active September 8, 2017 14:49 — forked from NPashaP/.block
biPartite - Horizontal Example
license: gpl-3.0
@jnschrag
jnschrag / France: Anchor Links
Created May 3, 2017 19:15
European Election Watch HTML