Skip to content

Instantly share code, notes, and snippets.

@marktovey
marktovey / README.md
Last active December 20, 2015 19:48
Disability resource flows prototype

(We recommend viewing this gist in a new window to see the full diagram).

This is a prototype Sankey diagram developed by Steve Williams and Terry Stewart for SiG's Social Innovation Simulation project at the University of Waterloo. It helps to illustrate ways in which resource flows around disability could be modelled. It is based on this Sankey diagram, built using the Sankey library in D3.

Sankey diagrams are very useful for visualizing resource flows. In this example, we wanted to get a sense of where financial support for those living with disability in Ontario was coming from. How much was from public and private sectors? What role did employers play? Who were the intermediaries? How many government ministries were involved? How much of the resources were goin

@marktovey
marktovey / FDJun12.json
Last active December 20, 2015 14:49
Democracy2 Policy Force Diagram (in D3)
{"nodes":[{"Department": "ECONOMY", "PolicyName": "ECONOMY", "maxcost": "", "mincost": ""}, {"Department": "TAX", "PolicyName": "TAX", "maxcost": "", "mincost": ""}, {"Department": "FOREIGNPOLICY", "PolicyName": "FOREIGNPOLICY", "maxcost": "", "mincost": ""}, {"Department": "PUBLICSERVICES", "PolicyName": "PUBLICSERVICES", "maxcost": "", "mincost": ""}, {"Department": "TRANSPORT", "PolicyName": "TRANSPORT", "maxcost": "", "mincost": ""}, {"Department": "WELFARE", "PolicyName": "WELFARE", "maxcost": "", "mincost": ""}, {"Department": "LAWANDORDER", "PolicyName": "LAWANDORDER", "maxcost": "", "mincost": ""},{"Department": "PUBLICSERVICES", "PolicyName": "Adult Education Subsidies", "maxcost": "300", "mincost": "160"}, {"Department": "ECONOMY", "PolicyName": "Agriculture Subsidies", "maxcost": "2800", "mincost": "0"}, {"Department": "TAX", "PolicyName": "Airline Tax", "maxcost": "0", "mincost": "0"}, {"Department": "LAWANDORDER", "PolicyName": "Alcohol Law", "maxcost": "0", "mincost": "0"}, {"Department": "TAX"