D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
aaizemberg
Full window
Github gist
Leyendo los datos del MakeoverMonday 2019w47 desde d3js
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>makeovermonday 2019 w47</title> <script src="https://d3js.org/d3.v5.min.js"></script> </head> <body> <h1>Makeover Monday</h1> <a href="https://www.makeovermonday.co.uk/">https://www.makeovermonday.co.uk/</a> <br><br> <a href="https://data.world/makeovermonday/2019w47">Los datos del MakeoverMonday 2019, semana 47</a> <script> d3.csv("https://download.data.world/s/gulngatlbsr4zqkbymvdsx2qwovpqh").then( function(data) { console.log(data[0]); data.forEach(function(d) { d.age = +d.age; d.ownership = +d.ownership; d.year = +d.year; }); viz(data); } ); function viz(data) { console.log(data[0]); } </script> </body> </html>
https://d3js.org/d3.v5.min.js