Skip to content

Instantly share code, notes, and snippets.

@maggie-lee
maggie-lee / five-atl-comparisions-num.csv
Last active June 2, 2019 22:12
five-atl-comparisions-num
name value
MLS estimated revenue, 17 season 5529000000
Charlotte proposed budget, FY20 2627534896
Atlanta proposd budget, FY20 2215976704
Black Panther gross revenue 1346913161
American Cancer Society revenue CY17 860690000
@maggie-lee
maggie-lee / atlanta-funds-2020.csv
Last active May 31, 2019 22:48
Atlanta proposed FY 2020 spending by fund
name value
General 677628773
Airport 593836523
Water & Wastewater 592853534
Insurance 150433941
Solid Waste 68533094
Hotel/Motel 76712025
All others 55978864
@maggie-lee
maggie-lee / atlanta-budget-2020.json
Last active May 31, 2019 20:52
atlanta-budget-2020
{
"name": "budget",
"children": [
{
"name": "Police",
"value": 204754624,
"label": 30.2
},
{
"name": "Non-Departmental: Debt service, Workers' comp, Insurance, Unemployment, Reserves and more",
@maggie-lee
maggie-lee / votes.py
Last active March 19, 2019 16:53
Python scraper of annual voting summaries from Georgia legislature website.
from bs4 import BeautifulSoup
import csv
from selenium import webdriver
from pyvirtualdisplay import Display
import time
from selenium.webdriver.support.select import Select
sessions = ['27', '25', '24', '23', '21', '20', '18', '14']
urls = ['http://www.legis.ga.gov/Legislation/en-US/VoteList.aspx?Chamber=2',
'http://www.legis.ga.gov/Legislation/en-US/VoteList.aspx?Chamber=1']
@maggie-lee
maggie-lee / data.csv
Last active September 6, 2016 20:38
for reference: stacked area chart d3 v4
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 12 columns, instead of 4. in line 9.
date,Rest of the world,Mexico,Netherlands,Belgium,Canada,Ireland,Germany,United Kingdom,Italy,Poland,Dominican Republic
2002,88558206,1148836167,686581858,16284782,392642400,71082755,143404547,117944163,7535197,5642489,13590525
2003,83540588,1195852817,694147130,22538407,386142563,95911940,139187125,95186602,8753778,9923607,13777927
2004,82110272,1240508053,698363141,31451099,361144916,73398981,139741567,119952263,7662460,8187112,14783630
2005,96446977,1374412804,704236235,48837518,351015320,101100241,144728160,121471118,9946037,11761780,14553130
2006,99597884,1631887282,828601218,72199111,380863857,98627600,144630411,118579399,12412105,10796643,15064333
2007,100411671,1620666247,789142240,111914367,397821581,105063181,158251183,119842075,16314811,13812183,14329372
2008,97578069,1585430382,767479362,122512008,362440537,109665375,136256464,116128266,19541037,12478281,15024342
2009,87209758,1521317909,662921254,100543918,280890781,101719703,123469764,90222042,20008511,10792537,15487936
2010,90353716,1578205773,
@maggie-lee
maggie-lee / index.html
Created July 14, 2015 19:20
Could Georgia's newly-unemployed fill Turner Field?
<!DOCTYPE html>
<meta charset="utf-8">
<style>
/* CSS goes here. */
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
@maggie-lee
maggie-lee / index.html
Last active August 29, 2015 14:23
Georgians crowd into metro Atlanta. Here's how much.
<!DOCTYPE html>
<meta charset="utf-8">
<style>
div.tooltip {
position: absolute;
text-align: center;
width: 60px;
height: 28px;
padding: 2px;
@maggie-lee
maggie-lee / index.html
Created October 24, 2014 16:18
transition trial
<!DOCTYPE html>
<meta charset="utf-8">
<style>
/* CSS goes here. */
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
@maggie-lee
maggie-lee / index.html
Last active August 29, 2015 14:07
Georgia unemployment rate, 1/2004 through July 2014
<!DOCTYPE html>
<meta charset="utf-8">
<style>
/* CSS goes here. */
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.