Skip to content

Instantly share code, notes, and snippets.

View jasonyarrington's full-sized avatar

Jason Yarrington jasonyarrington

View GitHub Profile
@jasonyarrington
jasonyarrington / global-map.html
Last active January 2, 2016 05:19
Global pinpoint map with D3
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.graticule {
fill: none;
stroke: #777;
stroke-opacity: .5;
stroke-width: .5px;
}
body {
background-color: blue;
}
.top-spacer {
height: 100px;
}
.wrapper {
border: 1px solid orange;
overflow: hidden;
}

From Wikipedia:

In mathematics, a Fourier series decomposes periodic functions or periodic signals into the sum of a (possibly infinite) set of simple oscillating functions, namely sines and cosines (or complex exponentials).

Use the bottom right form to change the visualized serie.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
body {
background: #333;
}
/********************
* TOOLTIP CSS
*/
.nvtooltip {
position: absolute;
background-color: rgba(255,255,255,1);
padding: 10px;
border: 1px solid #ddd;
@jasonyarrington
jasonyarrington / index.html
Created August 31, 2015 18:23
Table Cell
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
.header {
border: 1px solid red;