Skip to content

Instantly share code, notes, and snippets.

license: mit
@majomo
majomo / README.md
Last active May 2, 2016 02:08
Translate and Rotate 2
@majomo
majomo / README.md
Created April 23, 2016 01:49
Animate path in D3
Geography Year Household_Count Average_Household_Income Average_Shelter_Cost Average_STIR
NEWFOUNDLAND and LABRADOR 2011 201875 70936 754 18.3
PRINCE EDWARD ISLAND 2011 53620 68301 817 20.1
NOVA SCOTIA 2011 369760 69362 838 20.7
NEW BRUNSWICK 2011 298955 67122 757 19
QUEBEC 2011 3224260 68926 834 21.3
ONTARIO 2011 4600055 89873 1175 22.8
MANITOBA 2011 423200 74940 846 19.2
SASKATCHEWAN 2011 359375 81353 910 19.6
ALBERTA 2011 1285165 106241 1249 21.1
@majomo
majomo / index.html
Created March 30, 2016 05:08 — forked from mendozaline/index.html
Module 4
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>States of Mexico</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-legend/1.5.0/d3-legend.js"></script>
<style type="text/css">
Region Result
Alberni-Clayoquot 31800
Bulkley-Nechako 25601
Capital 34330
Cariboo 24510
Central Coast 30008
Central Kootenay 33485
Central Okanagan 30324
Columbia-Shuswap 31929
Comox Valley 32864
@majomo
majomo / README.md
Created March 24, 2016 16:03
Map circles text
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Region Result
Alberni-Clayoquot 31800
Bulkley-Nechako 25601
Capital 34330
Cariboo 24510
Central Coast 30008
Central Kootenay 33485
Central Okanagan 30324
Columbia-Shuswap 31929
Comox Valley 32864
@majomo
majomo / index.html
Created March 21, 2016 16:25 — forked from phil-pedruco/index.html
Click to zoom with table and map in D3
<!DOCTYPE html>
<meta charset="utf-8">
<style>
@import url(mapStyle.css);
</style>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<body>