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
Created December 14, 2023 23:19
VizHub Images

Images used in VizHub

@curran
curran / .block
Last active December 10, 2023 12:48
Download SVG from Data URL
license: mit
@curran
curran / .block
Last active November 9, 2023 23:37
CodeMirror 6 Example
license: mit
@curran
curran / .block
Last active September 30, 2023 09:04
Compare Colors
license: mit
@curran
curran / App.js
Last active August 19, 2023 14:00
React & D3 Starter
import {useData} from './useData';
import {VizWrapper} from './VizWrapper';
export const App = () => {
const data = useData();
return data ? (
<VizWrapper data={data} />
) : (
// Could be expanded with a real loading indicator.
'Loading...'
@curran
curran / .block
Last active August 16, 2023 17:59
D3 4.0 Sequential Scales Explorer
license: gpl-3.0
@curran
curran / .block
Last active June 26, 2023 14:50
Persons of Concern StreamGraph by Origin
license: mit
border: no
@curran
curran / .block
Last active May 16, 2023 14:51
World Countries Hierarchy
license: mit
border: no
height: 960
@curran
curran / README.md
Created September 27, 2019 13:03
Old Faithful Dataset

Classic dataset about geyser eruptions.

Each row represents an observed eruption of the Old Faithful Geyser in Yellowstone National Park. The eruptions column represents the duration of the eruption in minutes, and the waiting column represents the duration in minutes until the next eruption.

Extracted from TSV file published in Bl.ocks.org: Density Contours. Also published as a built-in dataset with R. Primary source: Härdle, W. (1991) Smoothing Techniques with Implementation in S. New York: Springer.

Reported Date Total Dead and Missing Location Coordinates
October 07, 2019 28 35.210549549164, 12.180541076066
October 06, 2019 1 25.900890221875, -97.525930965196
October 04, 2019 1 36.778630672371, -2.499724435320
October 04, 2019 1 26.396783686456, -99.078156497984
October 03, 2019 1 17.887207400000, -95.138674200000
October 03, 2019 1 27.435807331497, -99.495251713848
October 02, 2019 1 28.025147800000, -99.548918700000
October 01, 2019 2 45.158752305501, 19.339737369364
September 30, 2019 1 33.369970400000, -7.585723100000