Skip to content

Instantly share code, notes, and snippets.

Andy Davies andydavies

View GitHub Profile

Depending on where you are on your Data Viz journey, I'd probably start with Dona Wong or Cole Knaflic, then Andy Kirk, then Kopenen & Hildén (once I've read K&H I might swap the last two around)

Cairo's books are nice interlude and Few's is quite heavy weight (in both senses) though useful for dashboard design

(Amazon links are associate ones so feel free to buy elsewhere e.g. Hive in the UK)

The Wall Street Journal Guide to Information Graphics: The Dos and Don'ts of Presenting Data, Facts, and Figures, Dona Wong

Storytelling with Data: A Data Visualization Guide for Business Professionals Paperback, Cole Knaflic

View Beef and Ale


  • Bottle of beer - I used Abbot this time but can be Guinness, Black Sheep, what ever takes your fancy
  • Knorr beef stock pot
  • Bay leaves
  • Black pepper
  • Carrots - 1 to 1 1/5 per person depending on size
  • Large onion or a couple of medium ones
  • 3 - 4 cloves of garlic
  • Shallots (bag off)
  • Lean stewing beef - 400g ish
View gist:61b8703f0a0192e5bf173a8941ff380d
→ ssh -oKexAlgorithms=diffie-hellman-group1-sha1 -c 3des-cbc admin@
# Commands
andydavies / .block
Last active Aug 17, 2017
Sunburst Chart of Web Page composition / download size
View .block
license: cc-by-sa-4.0
andydavies / .block
Last active Oct 16, 2016
Treemap of BBC News Resources
View .block
license: cc-by-sa-4.0
andydavies / sslbookmarklet.js
Last active Jun 18, 2016
SSL Labs bookmarklet
View sslbookmarklet.js
javascript:(function(){hostname=document.location.hostname;'' + hostname + '&hideResults=on');})();
andydavies / 0_reuse_code.js
Created Jun 18, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View WPT Bookmarklet
javascript:(function(){hostname=document.location;'' + hostname);})();
andydavies / gist:8653127
Created Jan 27, 2014
List of Web Perf Resources for
View gist:8653127
- Enable gzip - HTML 5 Server Configs has examples for 1 & 3 (perhaps 2) -
- Enable keep-alive
- Set explict cache-lifetime
- Optimise images i.e. pick an appropriate format and run through tools like ImageOptim, JpegMini etc.
- Get a build process that minifies CSS & JS, and can combined multiple files together where appropriate
- Consider dataURIs or CSS sprites to reduce the number of requests for small images
- depending of where audience is consider a CDN (latency is the enemy in all of this
View gist:6024703
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:> for detailed information.
# In particular, see
# <URL:>
# for a discussion of each configuration directive.
# Do NOT simply read the instructions in here without understanding
You can’t perform that action at this time.