Multi-foci bubble charts. Visualization originally created for a piece on the diversity of Canada's Heritage Minutes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.from(document.querySelectorAll("main p")).map(d => d.textContent.trim()).join(" ").split(/\s+/).length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CURRHASH=`git rev-parse --short HEAD` | |
CURRBRANCH=`git rev-parse --abbrev-ref HEAD` | |
git commit -am "Deploying ${CURRHASH} to Heroku" | |
git checkout -b "deploy-${CURRHASH}" | |
gulp lib-build |
Playing around with clustered force layours, as per Mike Bostock's http://bl.ocks.org/mbostock/1747543. Data is from Bloomberg, manually edited.
Basic waffle charts using Mike Bostock's [http://bost.ocks.org/mike/chart/](reusable charts) convention. Waffles are configurable, as you can see below:
var waffle = new WaffleChart()
.selector(".chart")
.data(data)
.useWidth(false)
.label("Value of producers' sales in 2013, in thousands of dollars")
I hereby claim:
- I am tomcardoso on github.
- I am tomcardoso (https://keybase.io/tomcardoso) on keybase.
- I have a public key whose fingerprint is CBA0 DB54 42F8 36FE CEA0 D4FF 7E6E 2A19 8F88 E74C
To claim this, I am signing this object: