Skip to content

Instantly share code, notes, and snippets.

Avatar

Curran Kelleher curran

View GitHub Profile
@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 September 27, 2019 13:03
Old Faithful Dataset
View README.md

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.

@curran
curran / LICENSE
Last active March 9, 2023 16:59
Simplemaps: World Cities Database
View LICENSE
This license is a legal document designed to protect your rights and the rights of the Pareto Software, LLC, the owner of Simplemaps.com. Please read it carefully. Purchasing or downloading a data product constitutes acceptance of this license.
Description of Product and Parties: This license is a contract between you (hereafter, the Customer) and Pareto Software, LLC (hereafter, the Provider) regarding the use and/or sale of an collection of geographic data (hereafter, the Database).
Ownership of Database: All rights to the Database are owned by the Provider. The Database is a cleaned and curated collection of geographic facts and the Provider retains all rights to the Database afforded by the law. Ownership of any intellectual property generated by the Provider while performing custom modifications to the Database for a Customer (with or without payment) is retained by the Provider.
License: Customers who purchase a license are allowed to use the database for projects that benefit their organization or t
@curran
curran / .block
Last active March 7, 2023 00:19
US Map of Nielsen Media Markets
View .block
license: mit
@curran
curran / README.md
Last active January 31, 2023 11:10
Mother Jones Gun Violence Dataset
View README.md

This is a dataset on gun violence.

Originally published in US Mass Shootings, 1982-2015: Data From Mother Jones' Investigation. Downloaded in CSV format from https://github.com/hepplerj/gun-violence/blob/master/data/motherjones.csv. Column types were manually annotated in data.json for use with the automatic type parsing library dsv-dataset

This example page provides the basic code required to load the data and display it on the page (as JSON) using D3.js.

Built with blockbuilder.org

forked from curran's block: The Iris Dataset

@curran
curran / .block
Last active January 24, 2023 05:32
Download SVG from Data URL
View .block
license: mit
@curran
curran / .block
Last active January 19, 2023 06:52
Compare Colors
View .block
license: mit
@curran
curran / README.md
Last active January 18, 2023 18:55
The Iris Dataset
View README.md

This is the "Iris" dataset. Originally published at UCI Machine Learning Repository: Iris Data Set, this small dataset from 1936 is often used for testing out machine learning algorithms and visualizations (for example, Scatter Plot). Each row of the table represents an iris flower, including its species and dimensions of its botanical parts, sepal and petal, in centimeters.

The HTML page provides the basic code required to load the data and display it on the page (as JSON) using D3.js.

For a more up to date code example with React & D3, see (VizHub: Stylized Scatter Plot)[https://vizhub.com/curran/3d631093c2334030a6b27fa979bb4a0d?edit=files&file=index.js].

@curran
curran / README.md
Last active January 15, 2023 08:33
United Nations World Population Prospects 2019