D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
imjcl
Full window
Github gist
Employment / Salary Data by College Major. Currently sorted by unemployment rate - descending order.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Loading Majors CSV Data with D3</title> <script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script> </head> <body> <p>Please check the console for data!</p> <svg> <circle cx="60" cy="60" r="50" fill="tomato"> </svg> <p>Eventually that tomato circle will look like something that represents the loaded data!</p> <script type="text/javascript"> d3.csv("college-majors-employment-data.csv", function(data) { console.log(data); }); </script> </body> </html>
Modified
http://d3js.org/d3.v3.min.js
to a secure url
https://d3js.org/d3.v3.min.js