Skip to content

Instantly share code, notes, and snippets.

Avatar

Curran Kelleher curran

View GitHub Profile
@curran
curran / INDIA_DISTRICTS_TOPO.json
Last active May 4, 2023 10:59
India Geometries
View INDIA_DISTRICTS_TOPO.json
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 April 19, 2023 04:52
Marks and Channels
View README.md

A port of VizHub: Marks and Channels to vanilla JavaScript.

A demonstration of basic D3 usage to implement the concept of Marks and Channels. Includes usage of:

  • Point Marks by X, Y, Size
  • Line mark varying in length
  • Scaling factors
  • SVG Rectangles
  • selection.each()
  • SVG Path Elements
@curran
curran / README.md
Last active April 12, 2023 05:27
DVS SOTI Challenge Data
View README.md
@curran
curran / README.md
Last active March 24, 2023 05:39 — forked from Vonter/Smart Cities.csv
National Smart Cities Mission
View README.md
@curran
curran / README.md
Last active March 21, 2023 06:49
Simplemaps World Cities Database
View README.md

A dataset about cities of the world.

Downloaded from Simplemaps: World Cities Database.

A new file worldcitiesReduced.csv was created by manually removing columns not deemed necessary for initial visualization of this data.

@curran
curran / API_NY.GDP.PCAP.PP.CD_DS2_en_csv_v2_4901661.csv
Last active March 16, 2023 07:19
World Bank Dataset: GDP per capita, PPP (current international $)
View API_NY.GDP.PCAP.PP.CD_DS2_en_csv_v2_4901661.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
"Data Source","World Development Indicators",
"Last Updated Date","2023-03-01",
"Country Name","Country Code","Indicator Name","Indicator Code","1960","1961","1962","1963","1964","1965","1966","1967","1968","1969","1970","1971","1972","1973","1974","1975","1976","1977","1978","1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020","2021",
"Aruba","ABW","GDP per capita, PPP (current international $)","NY.GDP.PCAP.PP.CD","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","20753.5276476148","22429.2894439746","23484.2682590847","25024.8276202404","26786.1459486344","27192.7074960316","27183.8527304627","28718.5574188519","28743.5090623207","28656.0961995796","30746.6527453748","32184.2193022105","31988.303072648","32657.892379743","
@curran
curran / README.md
Last active March 10, 2023 15:04
Current Military Alliances 2023
View README.md
@curran
curran / README.md
Created December 17, 2022 15:50
Gist Scraping Script Prototype
View README.md

A working proof of concept that can iterate over each file of each Gist for a given username.

@curran
curran / App.js
Last active June 5, 2022 13:36
React & D3 Starter
View App.js
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 / README.md
Last active March 28, 2022 18:40
Observable Scrape
View README.md

A DIY method of authoring ES modules in Observable and exporting into downstream workflows such as React apps.