Skip to content

Instantly share code, notes, and snippets.

@emilyinamillion
emilyinamillion / .block
Created May 17, 2016 23:25
Population Pyramid
license: gpl-3.0
@emilyinamillion
emilyinamillion / README.md
Created May 18, 2016 22:55
Circles Chartlet
height: 500
border: yes
@emilyinamillion
emilyinamillion / .block
Last active May 20, 2016 21:08
Stacked Bar Chart
license: gpl-3.0
@emilyinamillion
emilyinamillion / README.md
Created May 22, 2016 22:05
Show / hide elements on mouse click with d3.js

This is a relativly straight forward graph with two lines. Each line and it's corresponding Y axis can be toggled on and off by clicking on the text labels at the bottom of the graph.

This example is based on the explanation given by 'mdml' in response to a Stack Overflow question on showing and hiding links and nodes.

It is used as an example of showing and hiding an element in d3.js using a separate element and described in the book D3 Tips and Tricks which can be downloaded for free from Leanpub.

forked from d3noob's block: Show / hide elements on mouse click with d3.js

@emilyinamillion
emilyinamillion / .block
Last active June 11, 2016 19:09
Stacked-to-Multiples
license: gpl-3.0
@emilyinamillion
emilyinamillion / .block
Created May 23, 2016 23:06
Stacked Bar Chart
license: gpl-3.0
@emilyinamillion
emilyinamillion / .block
Last active October 25, 2019 09:07
Justice-Packing
license: gpl-3.0
height: 960
border: no
@emilyinamillion
emilyinamillion / .block
Last active October 25, 2019 09:10
Justice-Packing
license: gpl-3.0
height: 960
border: no
@emilyinamillion
emilyinamillion / .block
Last active October 25, 2019 09:09
Justice-Packing
license: gpl-3.0
height: 960
border: no