Skip to content
Ryan Gates edited this page Nov 3, 2015 · 17 revisions

This tutorial is taken largely from Let’s Make a Bar Chart.

  1. Fork or download this repo
  2. Add appropriate references to your index.html
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<!DOCTYPE html>
<html>
<head>
	<title></title>
	<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
	<link href="index.css" rel="stylesheet">
</head>
<body>
	<div class="chart"></div>
	<script type="text/javascript" src="index.js"></script>
</body>
</html>
  1. Who can tell me why the script below referencing our index.js is at the bottom of the body?

Clone this wiki locally