Skip to content

Instantly share code, notes, and snippets.

Bessie Chu bessiec

Block or report user

Report or block bessiec

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bessiec
bessiec / index.html
Last active Nov 25, 2016
Module 1 NYCFC Shots versus Shots on Goal
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.9/d3.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3-tip/0.6.7/d3-tip.js"></script>
<style type="text/css">
@bessiec
bessiec / index.html
Last active Aug 23, 2016
D3 Water Leaks in City of Los Angeles
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Line Chart with Two Lines</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.js"></script>
<style type="text/css">
body {
background-color: white;
@bessiec
bessiec / Water_Use_Average_By_Zipcode.csv
Last active Nov 25, 2016
Module 5 - LA Water Use Scatterplot
View Water_Use_Average_By_Zipcode.csv
Zip Hundred_Cubic_Feet_of_Use_Fiscal_Year_05_06 Hundred_Cubic_Feet_of_Use_Fiscal_Year_06_07 Hundred_Cubic_Feet_of_Use_Fiscal_Year_07_08 Hundred_Cubic_Feet_of_Use_Fiscal_Year_08_09 Hundred_Cubic_Feet_of_Use_Fiscal_Year_09_10 Hundred_Cubic_Feet_of_Use_Fiscal_Year_10_11 Hundred_Cubic_Feet_of_Use_Fiscal_Year_11_12 Hundred_Cubic_Feet_of_Use_Fiscal_Year_12_13
90001 20 21 19 18 15 14 15 10
90002 20 21 19 18 17 16 17 11
90003 21 20 19 19 18 17 17 10
90004 41 42 39 38 35 34 34 18
90005 74 74 67 65 63 63 63 25
90006 47 47 45 44 42 41 41 11
90007 46 50 44 44 41 50 41 12
90008 23 24 23 22 20 19 20 10
90010 138 138 129 128 119 120 119 9
@bessiec
bessiec / Water_Use_Average_By_Zipcode.csv
Last active Nov 25, 2016
Module 4 - LA Water Use by Zip - Knight Journalism
View Water_Use_Average_By_Zipcode.csv
90001 20 21 19 18 15 14 15 10
90002 20 21 19 18 17 16 17 11
90003 21 20 19 19 18 17 17 10
90004 41 42 39 38 35 34 34 18
90005 74 74 67 65 63 63 63 25
90006 47 47 45 44 42 41 41 11
90007 46 50 44 44 41 50 41 12
90008 23 24 23 22 20 19 20 10
90010 138 138 129 128 119 120 119 9
@bessiec
bessiec / Water_Use_Average_By_Zipcode.csv
Last active Nov 25, 2016
Knight Journalism Course: Loading CSV with D3 Module
View Water_Use_Average_By_Zipcode.csv
90001 20 21 19 18 15 14 15 10
90002 20 21 19 18 17 16 17 11
90003 21 20 19 19 18 17 17 10
90004 41 42 39 38 35 34 34 18
90005 74 74 67 65 63 63 63 25
90006 47 47 45 44 42 41 41 11
90007 46 50 44 44 41 50 41 12
90008 23 24 23 22 20 19 20 10
90010 138 138 129 128 119 120 119 9
@bessiec
bessiec / Water_Use_Average_By_Zipcode.csv
Last active Sep 27, 2015
LAWater_Use_Average_By_Zipcode.csv
View Water_Use_Average_By_Zipcode.csv
90001 20 21 19 18 15 14 15 10
90002 20 21 19 18 17 16 17 11
90003 21 20 19 19 18 17 17 10
90004 41 42 39 38 35 34 34 18
90005 74 74 67 65 63 63 63 25
90006 47 47 45 44 42 41 41 11
90007 46 50 44 44 41 50 41 12
90008 23 24 23 22 20 19 20 10
90010 138 138 129 128 119 120 119 9
View gist:5953803
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>About Me</title>
</head>
<body>
<style>
.listitem{
color: red;
View gist:5953800
<html>
<head>
<meta charset="utf-8"/>
<title>My Book List</title>
</head>
<body>
<h1> My Book List</h1>
<script>
View gist:5952997
var tacos = {
title:"Yummy Tacos",
servings: 6,
ingredients:["cilantro", "tortillas", "guacamole", "salsa", "cheese"]
}
function printRecipe(recipe){
console.log(recipe.title);
console.log("serves " + recipe.servings);
for (var i=0; i<recipe.ingredients.length; i++){
You can’t perform that action at this time.