Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Week3 homework</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 style="color:#007fff; text-align: center;">TOP 10 Places of Origin of International Students</h1>
Year < 1 Year 1-5 Years 6-10 Years 11-17 Years 18-34 Years 35-49 Years 50-64 Years 65 +
1995 1.7 4.1 3.4 13.2 28.8 24.4 19.3 5.2
1999 1.3 3.4 2.8 9.2 25.2 27.3 21.9 9
2003 1.4 2.6 1.7 8.1 26 26.6 24.9 8.9
2007 1.5 2.3 1.5 6.1 26.4 26.2 26.4 9.5
2011 1.4 2.8 1.4 5.3 27.6 26.7 27.6 7.3
2015 1.7 2.8 1.4 4.4 30 25.8 27.4 6.6
Country Year2011 Year2013
United States 1% 1.50%
OECD 0.50% 1.00%
@sunnyuxuan
sunnyuxuan / index.html
Last active January 24, 2016 04:34
This statistic depicts the amount of chocolate consumed per person in 2011, by country. In that year, each citizen of the United States consumed about 4.6 kilograms of chocolate.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Week1 homework chocolate data</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
</head>
<body>