Skip to content

Instantly share code, notes, and snippets.

View carlosmondra's full-sized avatar

Carlos Daniel Mondragón Chapa carlosmondra

  • OpenReview
  • Cambridge
View GitHub Profile
// Get the svg element along with its attributes where all the elements will be drawn
var barSvg = d3.select("#bar-svg").append("svg")
.attr("width", 960)
.attr("height", 500)
// Establish inner margins to allow for some padding
var margin = {top: 20, right: 20, bottom: 80, left: 150},
width = +barSvg.attr("width") - margin.left - margin.right,
height = +barSvg.attr("height") - margin.top - margin.bottom;
We can't make this file beautiful and searchable because it's too large.
INSTNM,STABBR,SATVRMID,SATMTMID,SATWRMID,SAT_AVG,UGDS,UGDS_WHITE,UGDS_BLACK,UGDS_HISP,UGDS_ASIAN,ADM_RATE
Alabama A & M University,AL,427,420,414,850,4505,0.034,0.9216,0.0058,0.0018,0.6538
University of Alabama at Birmingham,AL,575,594,NULL,1147,11269,0.5863,0.2541,0.0317,0.0595,0.6043
Amridge University,AL,NULL,NULL,NULL,NULL,308,0.211,0.3409,0.0195,0,NULL
University of Alabama in Huntsville,AL,585,615,NULL,1221,5829,0.7024,0.123,0.0417,0.0381,0.812
Alabama State University,AL,410,410,NULL,844,4740,0.0165,0.9251,0.0116,0.0032,0.4639
The University of Alabama,AL,545,550,540,1181,31005,0.7807,0.1092,0.0399,0.0113,0.5359
Central Alabama Community College,AL,NULL,NULL,NULL,NULL,1546,0.7141,0.26,0.0123,0.0045,NULL
Athens State University,AL,NULL,NULL,NULL,NULL,2904,0.7817,0.1185,0.0189,0.0062,NULL
Auburn University at Montgomery,AL,485,505,NULL,990,4142,0.5355,0.351,0.007,0.0241,0.7871
@carlosmondra
carlosmondra / KNYC.csv
Last active April 5, 2018 20:01
Temperatures in NYC for an entire year
date actual_mean_temp actual_min_temp actual_max_temp average_min_temp average_max_temp record_min_temp record_max_temp record_min_temp_year record_max_temp_year actual_precipitation average_precipitation record_precipitation
2014-7-1 81 72 89 68 83 52 100 1943 1901 0.00 0.12 2.17
2014-7-2 82 72 91 68 83 56 100 2001 1966 0.96 0.13 1.79
2014-7-3 78 69 87 68 83 54 103 1933 1966 1.78 0.12 2.80
2014-7-4 70 65 74 68 84 55 102 1986 1949 0.14 0.13 1.76
2014-7-5 72 63 81 68 84 53 101 1979 1999 0.00 0.12 3.07
2014-7-6 75 66 84 68 84 54 103 1979 2010 0.00 0.13 1.97
2014-7-7 81 72 90 68 84 56 100 1914 2010 0.04 0.13 3.13
2014-7-8 81 71 91 69 84 56 100 1894 1993 0.39 0.14 1.80
2014-7-9 80 71 88 69 84 54 106 1963 1936 0.09 0.14 1.09
We can't make this file beautiful and searchable because it's too large.
We can't make this file beautiful and searchable because it's too large.
UNITID,OPEID,OPEID6,INSTNM,CITY,STABBR,INSTURL,NPCURL,HCM2,PREDDEG,HIGHDEG,CONTROL,LOCALE,HBCU,PBI,ANNHI,TRIBAL,AANAPII,HSI,NANTI,MENONLY,WOMENONLY,RELAFFIL,SATVR25,SATVR75,SATMT25,SATMT75,SATWR25,SATWR75,SATVRMID,SATMTMID,SATWRMID,ACTCM25,ACTCM75,ACTEN25,ACTEN75,ACTMT25,ACTMT75,ACTWR25,ACTWR75,ACTCMMID,ACTENMID,ACTMTMID,ACTWRMID,SAT_AVG,SAT_AVG_ALL,PCIP01,PCIP03,PCIP04,PCIP05,PCIP09,PCIP10,PCIP11,PCIP12,PCIP13,PCIP14,PCIP15,PCIP16,PCIP19,PCIP22,PCIP23,PCIP24,PCIP25,PCIP26,PCIP27,PCIP29,PCIP30,PCIP31,PCIP38,PCIP39,PCIP40,PCIP41,PCIP42,PCIP43,PCIP44,PCIP45,PCIP46,PCIP47,PCIP48,PCIP49,PCIP50,PCIP51,PCIP52,PCIP54,DISTANCEONLY,UGDS,UGDS_WHITE,UGDS_BLACK,UGDS_HISP,UGDS_ASIAN,UGDS_AIAN,UGDS_NHPI,UGDS_2MOR,UGDS_NRA,UGDS_UNKN,PPTUG_EF,CURROPER,NPT4_PUB,NPT4_PRIV,NPT41_PUB,NPT42_PUB,NPT43_PUB,NPT44_PUB,NPT45_PUB,NPT41_PRIV,NPT42_PRIV,NPT43_PRIV,NPT44_PRIV,NPT45_PRIV,PCTPELL,RET_FT4,RET_FTL4,RET_PT4,RET_PTL4,PCTFLOAN,UG25ABV,MD_EARN_WNE_P10,GT_25K_P6,GRAD_DEBT_MDN_SUPP,GRAD_DEBT_MDN10YR_SUPP,RPY_3YR_RT_SUPP,C150_L4_POO
@carlosmondra
carlosmondra / .block
Last active February 2, 2018 04:27
Homework 1 - Extra-vehicular Activity (EVA) - US and Russia
license: mit