Created
November 18, 2015 07:03
-
-
Save emmanuelflores/15fe0e43006a982ad3c3 to your computer and use it in GitHub Desktop.
Test CSV d3.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Hello D3</title> | |
<script type="text/javascript" src="d3/d3.min.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
d3.csv("db.csv", function(data){ | |
console.log(data); | |
data.forEach(function(d){ | |
console.log(d.Brand); | |
}) | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment