Skip to content

Instantly share code, notes, and snippets.

View nlinc1905's full-sized avatar

Nicholas Lincoln nlinc1905

View GitHub Profile
@nlinc1905
nlinc1905 / index.html
Created February 27, 2018 01:03
3D Network Graph in Virtual Reality
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-event-set-component@^4.0.0/dist/aframe-event-set-component.min.js"></script>
</head>
@nlinc1905
nlinc1905 / index.html
Created January 8, 2015 01:10
Choropleth Template of US Counties
This file has been truncated, but you can view the full file.
<html>
<head>
<title>County Data</title>
<style>
.active {
stroke: black;
stroke-width: .75px;
@nlinc1905
nlinc1905 / index.html
Created January 7, 2015 03:28
Choropleth Template of US States
This file has been truncated, but you can view the full file.
<html>
<head>
<title>Heacount by Location</title>
<style>
.active {
stroke: black;
stroke-width: .75px;
@nlinc1905
nlinc1905 / index.html
Created January 7, 2015 03:09
Hierarchy of Physical Science Disciplines with d3.js
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Node-Link Tree</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.27.2s"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?1.27.2"></script>
<style type="text/css">
.node circle {
@nlinc1905
nlinc1905 / index.html
Created January 6, 2015 04:52
Apple Inc. Stock Price and Cash Flow over 10 Years
<html>
<head>
<style>
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 4px;
@nlinc1905
nlinc1905 / index.html
Created November 24, 2014 04:03
Spider Taxonomy Radial Tree with d3.js
<!DOCTYPE html>
<meta charset="utf-8">
<style>
svg {
display: block;
margin: auto;
}
.node circle {
@nlinc1905
nlinc1905 / index.html
Created November 24, 2014 04:01
Treemap of the Market Shares of Various Industries with d3.js
<!doctype html>
<html>
<head>
<title>Industry Market Shares Treemap</title>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<style>
h2 {
@nlinc1905
nlinc1905 / index.html
Created November 24, 2014 03:38
Sparkline with d3.js
<html>
<head>
<title>Sparkline for Apple Stock Price</title>
<style></style>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>