Skip to content

Instantly share code, notes, and snippets.

View nick3499's full-sized avatar
🏠
Working from home

nick3499 nick3499

🏠
Working from home
  • USA
View GitHub Profile
@nick3499
nick3499 / index.html
Last active March 6, 2017 23:20 — forked from d3byex/index.html
D3byEX 8.4: Drag and Drop (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, drag circles" />
</head>
<body>
<script src="http://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/d3-selection-multi.v1.min.js"></script>
<script>
@nick3499
nick3499 / index.html
Last active March 6, 2017 04:38 — forked from d3byex/index.html
D3byEX 7.5: Start and End Events (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, rect transition event, start,
end, size, color, location" />
</head>
<body>
<script src="http://d3js.org/d3.v4.min.js"></script>
@nick3499
nick3499 / index.html
Last active March 5, 2017 23:28 — forked from d3byex/index.html
D3byEX 7.4: Chained Transitions (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, rect transitions, delay,
size, color, location" />
</head>
<body>
<script src="http://d3js.org/d3.v4.min.js"></script>
@nick3499
nick3499 / index.html
Last active March 5, 2017 22:55 — forked from d3byex/index.html
D3byEX 7.3: Delayed Transition (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, rect transition, size,
color, location, delay" />
</head>
<body>
<script src="http://d3js.org/d3.v4.min.js"></script>
@nick3499
nick3499 / index.html
Last active March 5, 2017 20:42 — forked from d3byex/index.html
D3byEX 7.2: Animating Multiple Properties (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, transition, color, location" />
</head>
<body>
<script src="http://d3js.org/d3.v4.min.js"></script>
<!-- .attrs() -->
@nick3499
nick3499 / index.html
Last active March 5, 2017 19:41 — forked from d3byex/index.html
D3byEX 7.1: Animated Color (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4,.attrs, svg, color transition"/>
</head>
<body>
<script src="http://d3js.org/d3.v4.js"></script>
<!-- .attrs() -->
<script src="https://d3js.org/d3-selection-multi.v1.min.js"></script>
@nick3499
nick3499 / index.html
Last active March 5, 2017 17:06 — forked from d3byex/index.html
D3byEX 6.4: Bubble Plot (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, bubble plot, world bank,
.axisLeft, .scaleLinear, .axisBottom,
d3.scaleOrdinal(d3.schemeCategory10)" />
</head>
<body>
<!-- .axisLeft, .scaleLinear, .axisBottom,
@nick3499
nick3499 / index.html
Last active March 5, 2017 17:16 — forked from d3byex/index.html
D3byEX 6.3: Gridlines (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, .csv, .map, .scaleLinear,
.axisLeft, .axisBottom, scatter plot
with gridlines" />
</head>
<body>
<script src="http://d3js.org/d3.v4.min.js"></script>
@nick3499
nick3499 / index.html
Last active March 5, 2017 17:22 — forked from d3byex/index.html
D3byEX 6.1: Scatter Plot (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, .scaleLinear, scatter plot,
SVG Container, .csv data file" />
</head>
<body>
<script src="http://d3js.org/d3.v4.js"></script>
<script src="https://d3js.org/d3-selection-multi.v1.min.js"></script>
@nick3499
nick3499 / index.html
Last active March 3, 2017 18:56 — forked from d3byex/index.html
D3byEX 5.9: Range Bands with Padding (Adapted to D3.js v4)
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, .scaleBand, .rangeRound,
.padding, ordinal scale range bands" />
</head>
<body>
<script src="http://d3js.org/d3.v4.js"></script>
<script>