Skip to content

Instantly share code, notes, and snippets.

Curran Kelleher curran

Block or report user

Report or block curran

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@curran
curran / Data.csv
Last active Sep 19, 2019
Manufactures vs Total Exports
View Data.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 9 columns, instead of 3. in line 7.
Country Name,Country Code,Series Name,Series Code,2014 [YR2014],2015 [YR2015],2016 [YR2016],2017 [YR2017],2018 [YR2018]
Afghanistan,AFG,Manufactures exports (% of merchandise exports),TX.VAL.MANF.ZS.UN,14.7219364611863,15.8626032734504,6.56171477932471,..,..
Afghanistan,AFG,Merchandise exports (current US$),TX.VAL.MRCH.CD.WT,570000000,571000000,596000000,780000000,875000000
Afghanistan,AFG,Commercial service exports (current US$),TX.VAL.SERV.CD.WT,1245116192.49518,734974019.418313,380875667.824945,252886849.455045,..
Albania,ALB,Manufactures exports (% of merchandise exports),TX.VAL.MANF.ZS.UN,31.3635380921156,52.6944270996236,66.3131124463271,51.3722500613632,41.5676978166436
Albania,ALB,Merchandise exports (current US$),TX.VAL.MRCH.CD.WT,2431000000,1930000000,1962000000,2301000000,2876000000
Albania,ALB,Commercial service exports (current US$),TX.VAL.SERV.CD.WT,2454016098.32733,2205497327.38097,2609903799.93551,3192929713.19358,3566275231.79488
Algeria,DZA,Manufactures exports (% of merchandise expo
@curran
curran / Elementary.geojson
Last active Sep 19, 2019
TEC SDPA Map Data
View Elementary.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@curran
curran / README.md
Last active Sep 12, 2019
United Nations World Population Prospects 2019
@curran
curran / VizHubForks.json
Created Sep 11, 2019
VizHub Forks Graph as of Sept. 11 2019
View VizHubForks.json
This file has been truncated, but you can view the full file.
@curran
curran / README.md
Last active Sep 12, 2019
CSS Named Colors
View README.md
@curran
curran / useWidthDetector.js
Last active Jul 22, 2019 — forked from AdamMcCormick/ScrollBarAdapter.jsx
A hook to listen for width changes or scroll-bar show/hide.
View useWidthDetector.js
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 Jun 27, 2019
Simplified Globe
View .block
license: mit
@curran
curran / .block
Last active Apr 24, 2019
Hello Svelte
View .block
license: mit
@curran
curran / README.md
Last active Apr 20, 2019
Choropleth map with selectable countries
View README.md

A choropleth map with selectable countries.

This example demonstrates the changes neede for migration from VizHub to local development. Namely:

  • Required packages are added to package.json.
  • Script tags for libraries are removed from index.html.
  • Externals and globals can be removed from rollup.config.js.
<iframe width="560" height="315" src="https://www.youtube.com/embed/L2Tj20cGJ_4?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
@curran
curran / .block
Last active Mar 29, 2019
Scatterplot Pills
View .block
license: gpl-3.0
You can’t perform that action at this time.