Skip to content

Instantly share code, notes, and snippets.

@bawbgale
bawbgale / faa_2018_top_1946_manuf_group_year_counts.json
Last active September 22, 2018 23:13
Counts of registered aircraft by manufacturer and year built for top 1946 manufacturers. From FAA aircraft registry. https://www.faa.gov/licenses_certificates/aircraft_certification/aircraft_registry/
[{"manufacturer":"Aeronca","year":"1948","count":170},{"manufacturer":"Aeronca","year":"1946","count":2352},{"manufacturer":"Aeronca","year":"1947","count":400},{"manufacturer":"Aeronca","year":"1945","count":139},{"manufacturer":"Aeronca","year":"1955","count":12},{"manufacturer":"Aeronca","year":"1943","count":72},{"manufacturer":"Aeronca","year":"1942","count":94},{"manufacturer":"Aeronca","year":"1959","count":5},{"manufacturer":"Aeronca","year":"1941","count":204},{"manufacturer":"Aeronca","year":"1930","count":5},{"manufacturer":"Aeronca","year":"1944","count":22},{"manufacturer":"Aeronca","year":"1949","count":78},{"manufacturer":"Aeronca","year":"1933","count":3},{"manufacturer":"Aeronca","year":"1952","count":4},{"manufacturer":"Aeronca","year":"1950","count":52},{"manufacturer":"Aeronca","year":"1932","count":6},{"manufacturer":"Aeronca","year":"1939","count":85},{"manufacturer":"Aeronca","year":"1940","count":92},{"manufacturer":"Aeronca","year":"1956","count":23},{"manufacturer":"Aeronca","year":"
[{"has_year":"true","count":254741,"data":[{"year":"1990","count":1412},{"year":"1981","count":4366},{"year":"1967","count":5548},{"year":"1978","count":7821},{"year":"1984","count":1742},{"year":"1998","count":3133},{"year":"1999","count":3447},{"year":"1983","count":1626},{"year":"1980","count":4408},{"year":"1987","count":1045},{"year":"1979","count":7333},{"year":"1994","count":1692},{"year":"1965","count":5119},{"year":"1992","count":1655},{"year":"1976","count":7219},{"year":"1997","count":2395},{"year":"1993","count":1643},{"year":"1973","count":5439},{"year":"1982","count":2312},{"year":"1989","count":1375},{"year":"1985","count":1515},{"year":"1968","count":5782},{"year":"1975","count":6124},{"year":"1991","count":1690},{"year":"1995","count":1806},{"year":"2007","count":5304},{"year":"2001","count":3889},{"year":"1977","count":7235},{"year":"1974","count":5568},{"year":"2006","count":4833},{"year":"1970","count":2699},{"year":"2002","count":3685},{"year":"1969","count":4940},{"year":"1966","count":6
@bawbgale
bawbgale / index.html
Last active July 26, 2017 16:48 — forked from d3noob/.block
d3.js tree from csv
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Collapsible Tree Example</title>
<style>
.node circle {
@bawbgale
bawbgale / gist:2bb60bec9154e6b49d8e
Last active August 29, 2015 14:22
Convert a set of flat JSON objects with consistent key order to CSV
cat part-00000 | jq -s -r '.[0] | to_entries | map(.key) | @csv' > all.csv | cat part-* | jq -s -r '.[] | to_entries | map(.value) | @csv' >> all.csv