Skip to content

Instantly share code, notes, and snippets.

View curran's full-sized avatar

Curran Kelleher curran

View GitHub Profile
@curran
curran / README.md
Last active March 24, 2023 05:39 — forked from Vonter/Smart Cities.csv
National Smart Cities Mission
@curran
curran / .gitignore
Last active May 8, 2024 11:53 — forked from enjalot/clone.js
a set of scripts to pull the git history from the d3 git repositories
d3*
data
*.swp
@curran
curran / .block
Last active January 29, 2021 22:35 — forked from mbostock/.block
New York Census Tracts
license: gpl-3.0
@curran
curran / useWidthDetector.js
Last active April 11, 2021 23:27 — forked from AdamMcCormick/ScrollBarAdapter.jsx
A hook to listen for width changes or scroll-bar show/hide.
import { useEffect } from 'react';
/**
* A hook to listen for width changes or scroll-bar show/hide.
*
* Arguments:
* * containerRef - a React ref to the element whose width you want to measure.
* * onWidthChanged - a function that is invoked when the width changes.
*
* Based on https://gist.github.com/AdamMcCormick/d5f718d2e9569acdf7def25e8266bb2a
@curran
curran / .block
Last active September 18, 2018 07:51 — forked from almccon/.block
2016 Electoral College - No Overlap
license: mit
@curran
curran / .README.md.swp
Last active November 5, 2020 03:43 — forked from micahstubbs/.block
circle pack + hierarchical edge bundling | es2015+ | Vanilla D3v5
@curran
curran / .block
Last active July 30, 2016 00:14 — forked from mbostock/.block
[unlisted] Google Maps + D3
license: gpl-3.0