### Exercise - Horizontal barChart
Built with blockbuilder.org
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>Intro d3js examples</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
<style>
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; }
</style>
</head>
<body>
<h1>Intro d3js - exercise horizontal barchart</h1>
<script type="text/javascript">
//0. Define global vars
//1. load csv file
d3.csv("xxx.xxx", function(data) {
//2. Create SVG element with a width and height
//3. Create a linear scale for the width of each bar
//4. For every data point visualize a rectangle
//5. Draw the values on the right of each bar
//6. Draw the names to the left of each bar
//7. Create a sort function to reorder the graph on each bar click
}); //end of csv method
</script>
</body>
</html>
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js