Skip to content

Instantly share code, notes, and snippets.

Avatar

Tom Shanley tomshanley

View GitHub Profile
@tomshanley
tomshanley / index.html
Last active August 29, 2015 14:00
D3 Simple Example
View index.html
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Simple Example</title>
<style>
</style>
<body>
@tomshanley
tomshanley / index.html
Last active August 29, 2015 14:00
Project Dependencies
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Project Dependencies</title>
<!-- Scripts -->
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
<!-- Styles -->
@tomshanley
tomshanley / cem2.csv
Last active August 29, 2015 14:00
Linked charts - service journeys
View cem2.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 16 columns, instead of 6. in line 4.
Product,Interaction,Step,Persona,Channel,TouchPoint,Collateral,Timeliness,Competence,Professionalism,Proficiency,Management,Convenience,Outcome,Total,Summary
Online Directories,Order Google+ product,1,Persona 1,Website - portal,Search and find the ACMEtoolbox,Logged contact @ 1530hrs on 13-08-2013. refers to YPG in footer.,2,2,0,1,0,0,3,8,1
Online Directories,Order Google+ product,2,Persona 1,Website - portal,Search for google+ product information on ACMEtoolbox website,No search function. No reference to google+ anywhere on website. Inconsistent tab references to product headers in toolbox.,1,1,0,1,0,-1,2,4,1
Online Directories,Order Google+ product,3,Persona 1,Website - portal,Searched for google+ product information through ACME Search link,Went to ACME Search Find out MoreMultiple product terms e.g. Search Engine Marketing ACME Search Marketing Search Marketing - then Google Adwords,-1,-1,-1,-1,-2,-2,-2,-10,-1
Online Directories,Order Google+ product,4,Persona 1,Website - portal,Search for ACMEtoolbox co
@tomshanley
tomshanley / index.html
Last active August 29, 2015 14:00 — forked from cfergus/index.html
Sankey with circular references
View index.html
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://d3js.org/d3.v2.js"></script>
<script type="text/javascript" src="sankey.js"></script>
<title>Sankey Diagram</title>
<style>
@tomshanley
tomshanley / groups.json
Last active August 29, 2015 14:01
Network of groups - force dircected graph
View groups.json
{
"nodes":[
{"name":"Agnes Partee","group":"Organisation 1","single":"no"},
{"name":"Ellyn Arzola","group":"Organisation 1","single":"no"},
{"name":"Antone Milazzo","group":"Organisation 1","single":"no"},
{"name":"Francina Schnee","group":"Organisation 1","single":"no"},
{"name":"Lia Fetzer","group":"Organisation 1","single":"no"},
{"name":"Heike Maurice","group":"Organisation 1","single":"no"},
{"name":"Gertrude Hayek","group":"Organisation 1","single":"no"},
{"name":"Aurea Gayer","group":"Organisation 1","single":"no"},
@tomshanley
tomshanley / ba-skills.tsv
Last active August 29, 2015 14:01
Capabilities - Stacked to multiple
View ba-skills.tsv
location capabilitygroup capability assessmentdate totalpeople totalyears
Auckland BA Methodologies Planning and Monitoring Q1 13 20
Auckland BA Methodologies Elicitation Q1 13 25
Auckland BA Methodologies Requirements Management and Communication Q1 13 20
Auckland BA Methodologies Enterprise Analysis Q1 11 30
Auckland BA Methodologies Requirements Analysis Q1 13 10
Auckland BA Methodologies Solution Assessment and Validation Q1 11 31
Auckland BA Methodologies Iterative e.g. RUP Q1 13 41
Auckland BA Methodologies Agile - Scrum Q1 11 20
Auckland BA Methodologies BA Practise Mgmt Q1 7 15
@tomshanley
tomshanley / Email.png
Last active August 29, 2015 14:03
Customer Experience Mapping
@tomshanley
tomshanley / d3.min.js
Last active August 29, 2015 14:06
Treemap websites
View d3.min.js
d3=function(){function n(n){return null!=n&&!isNaN(n)}function t(n){return n.length}function e(n){for(var t=1;n*t%1;)t*=10;return t}function r(n,t){try{for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}catch(r){n.prototype=t}}function u(){}function i(){}function o(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function a(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.substring(1);for(var e=0,r=Do.length;r>e;++e){var u=Do[e]+t;if(u in n)return u}}function c(){}function l(){}function s(n){function t(){for(var t,r=e,u=-1,i=r.length;++u<i;)(t=r[u].on)&&t.apply(this,arguments);return n}var e=[],r=new u;return t.on=function(t,u){var i,o=r.get(t);return arguments.length<2?o&&o.on:(o&&(o.on=null,e=e.slice(0,i=e.indexOf(o)).concat(e.slice(i+1)),r.remove(t)),u&&e.push(r.set(t,{on:u})),n)},t}function f(){mo.event.preventDefault()}function h(){for(var n,t=mo.event;n=t.sourceEvent;)t=n;return t}function g(n){for(var t=new l,e=0,r=arguments.length;++e<r;)t[argument
@tomshanley
tomshanley / govtwebsites.csv
Last active August 29, 2015 14:09
Treemap Websites 2
View govtwebsites.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 20 columns, instead of 10. in line 8.
Agency,website,size,Births-deaths-marriages,Citizenship-and-immigration,Community-arts-and-sport,Consumer-rights,Crime-law-and-justice,Driving-and-transport,Education-and-training,Emergencies-and-disasters,Environment-and-climate,Health,History-culture-and-heritage,Housing-and-property,Internet-media-and-communication,Money-benefits-and-tax,Parliament-and-politics,Passports-travel-and-tourism,Work-and-jobs
Department of Internal Affairs,archives.govt.nz,1168,,,X,,,,,,,,X,,,,,,
Department of Internal Affairs,archway.archives.govt.nz,1062,,,,,,,,,,,,,,,X,,
Department of Internal Affairs,audiovisual.archives.govt.nz,1034,,,,,,,,,,,X,,,,,,
Department of Internal Affairs,beta.natlib.govt.nz,1001,,,,,,,,,,,,,,,,,
Department of Internal Affairs,canterbury-hearings.royalcommission.govt.nz,1011,,,,,,,,X,,,,,,,,,
Department of Internal Affairs,cartoons.org.nz,1000,,,X,,,,,,,,X,,,,,,
Department of Internal Affairs,cdgo.govt.nz,1066,,,,,,,,,,,,,,,,,
Department of Internal Affairs,christchurch.archives.govt.nz,1001,,,,,,,
@tomshanley
tomshanley / barchart.tsv
Last active August 29, 2015 14:09
Sortable bar chart
View barchart.tsv
letter frequency
A .08167
B .01492
C .02780
D .04253
E .12702
F .02288
G .02022
H .06094
I .06973