Skip to content

Instantly share code, notes, and snippets.

View zanarmstrong's full-sized avatar

zan zanarmstrong

View GitHub Profile
@zanarmstrong
zanarmstrong / README.md
Created January 16, 2016 18:45
Sortable Table with Bars
@zanarmstrong
zanarmstrong / README.md
Last active January 14, 2016 00:14
Cluster Dendrogram

A dendrogram is a node-link diagram that places leaf nodes of the tree at the same depth. In this example, the classes (leaf nodes) are aligned on the right edge, with the packages (internal nodes) to the left. Data shows the Flare class hierarchy, courtesy Jeff Heer.

Compare to this radial layout.

forked from mbostock's block: Cluster Dendrogram

forked from anonymous's block: Cluster Dendrogram

@zanarmstrong
zanarmstrong / README.md
Last active December 17, 2015 02:20
comet chart - input your own data
We couldn’t find that file to show.
@zanarmstrong
zanarmstrong / index.html
Last active December 10, 2015 09:20
Map of Europe - for Migrant project
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
fill: #ccc;
stroke: #fff;
}
</style>
@zanarmstrong
zanarmstrong / data.csv
Last active May 12, 2018 21:09
Migrant Deaths
We can't make this file beautiful and searchable because it's too large.
Event_id,cause_of_death,CartoDB_Cause_of_death,dataset,date,quarter,Date-month,Year,dead,missing,dead_and_missing,description,location,latitude,longitude,"latitude, longitude",Somme Dedoublement,name,route (Frontex),source,source_url
,asphyxiated,authorities related death,,2015-11-30T00:00:00Z,4Q2015,2015 -- 11,2015,2,0,2,Two cameroonian men died asphyxiated in a cave as Moroccan police burnt blankets in front of the cave,Fnideq,35.843,-5.397,"35.843, -5.397",,,Western Mediterranean route,France 24,https://web.archive.org/web/20151204142408/http://observers.france24.com/fr/20151203-migrants-morts-asphyxies-ceuta-bavure-forces-ordre-maroc-cameroun
,hit by a car,"violent accidental death (transport, blown in minefield...)",,2015-12-03T00:00:00Z,4Q2015,2015 -- 12,2015,1,0,1,A Sudanese 16 years old was hit by a car on a highway near Coquelles,Coquelles,50.92,1.78,"50.92, 1.78",,,,Codis,https://web.archive.org/web/20151204130702/http://www.nordlittoral.fr/accueil/un-migrant-est-mort-percute-par-une-camionnette-jeu
@zanarmstrong
zanarmstrong / README.md
Last active November 20, 2015 20:47
D3 Bingo! (Zan)

D3 Bingo is meant to be a fun challenge to inspire you to explore parts of D3 (and engaging with the D3 community) that you might not have done yet... and to celebrate what you have done so far!

To play D3 Bingo, fork the gist for a blank Bingo Board on blockbuilder.

In the data.js file, add a URL for any projects that you have that fulfil a challenge. Then save. Your bingo card on bl.ocks will now show your completed squares. If you click on a square, it will open the URL for that project.

You can see my completed bingo card here as an example.

forked from zanarmstrong's block: D3 Bingo!

@zanarmstrong
zanarmstrong / README.md
Last active November 20, 2015 19:21
custom ease

Draw a custom easing function in the white box on the left by clicking and dragging on it. When you let go the shapes on the right will be animated by converting the drawn path into an easing function with mojs and transitioned with d3.js

Built with blockbuilder.org

forked from enjalot's block: custom ease

@zanarmstrong
zanarmstrong / README.md
Last active June 6, 2019 07:06
D3 Bingo!

D3 Bingo is meant to be a fun challenge to inspire you to explore parts of D3 (and engaging with the D3 community) that you might not have done yet... and to celebrate what you have done so far!

To play D3 Bingo, fork this gist on blockbuilder.

In the data.js file, add a URL for any projects that you have that fulfil a challenge. Then save. Your bingo card on bl.ocks will now show your completed squares. If you click on a square, it will open the URL for that project.

You can see my completed bingo card here as an example.

@zanarmstrong
zanarmstrong / README.md
Created November 8, 2015 17:03
Starting Points w/ Data