Created
October 21, 2017 16:37
-
-
Save aaizemberg/2b1c63f8a0b13105ad6d908933b5a3f2 to your computer and use it in GitHub Desktop.
BA Taxi - Cantidad de Pasajeros
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> | |
<meta charset="utf-8"> | |
<script src="//d3plus.org/js/d3.js"></script> | |
<script src="//d3plus.org/js/d3plus.js"></script> | |
<h1>BA Taxi - el 65% de los viajes, se hacen con 1 solo pasajero.</h1> | |
<div id="viz"></div> | |
<script> | |
var data = [{"name":1,"value":12483}, | |
{"name":2,"value":4828}, | |
{"name":3,"value":1368}, | |
{"name":4,"value":469}] | |
d3plus.viz() | |
.container("#viz") | |
.data(data) | |
.type("pie") | |
.id("name") | |
.size("value") | |
.draw() | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment