D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
toxford
Full window
Github gist
Airline delays mod2
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>d3 module 2 - oxford</title> <script type="text/javascript" src="https://d3js.org/d3.v3.js"></script> </head> <body> <svg width="750" height="750"> <rect x="0" y="0" fill="#D4D4D4" width="137" height="137"/> <rect x="150.7" y="0" fill="#D4D4D4" width="137" height="137"/> <rect x="301.4" y="0" fill="#D4D4D4" width="137" height="137"/> <rect x="452.2" y="0" fill="#D4D4D4" width="137" height="137"/> <rect x="602.9" y="0" fill="#D4D4D4" width="137" height="137"/> <rect x="0" y="151.4" fill="#D4D4D4" width="137" height="137"/> <rect x="150.7" y="151.4" fill="#D4D4D4" width="137" height="137"/> <rect x="301.4" y="151.4" fill="#D4D4D4" width="137" height="137"/> <rect x="452.2" y="151.4" fill="#D4D4D4" width="137" height="137"/> <rect x="602.9" y="151.4" fill="#D4D4D4" width="137" height="137"/> <rect x="0" y="302.8" fill="#D4D4D4" width="137" height="137"/> <rect x="150.7" y="302.8" fill="#D4D4D4" width="137" height="137"/> <rect x="301.4" y="302.8" fill="#D4D4D4" width="137" height="137"/> <rect x="452.2" y="302.8" fill="#D4D4D4" width="137" height="137"/> <rect x="602.9" y="302.8" fill="#D4D4D4" width="137" height="137"/> <rect x="0" y="454.2" fill="#D4D4D4" width="137" height="137"/> <rect x="150.7" y="454.2" fill="#D4D4D4" width="137" height="137"/> <rect x="301.4" y="454.2" fill="#D4D4D4" width="137" height="137"/> <rect x="452.2" y="454.2" fill="#D4D4D4" width="137" height="137"/> <rect x="602.9" y="454.2" fill="#D4D4D4" width="137" height="137"/> <rect x="0" y="605.6" fill="#D4D4D4" width="137" height="137"/> <rect x="150.7" y="605.6" fill="#D4D4D4" width="137" height="137"/> <rect x="301.4" y="605.6" fill="#D4D4D4" width="137" height="137"/> <rect x="452.2" y="605.6" fill="#D4D4D4" width="137" height="137"/> <rect x="602.9" y="605.6" fill="#D4D4D4" width="137" height="137"/> <rect x="13.7" y="13.7" fill="#E5503F" width="109.6" height="109.6"/> <rect x="164.4" y="13.7" fill="#B26B62" width="109.6" height="109.6"/> <rect x="315.1" y="13.7" fill="#7F8586" width="109.6" height="109.6"/> <rect x="465.9" y="13.7" fill="#4D9FA8" width="109.6" height="109.6"/> <rect x="616.6" y="13.7" fill="#1BBACB" width="109.6" height="109.6"/> <rect x="13.7" y="165.1" fill="#E5753E" width="109.6" height="109.6"/> <rect x="164.4" y="165.1" fill="#B2885F" width="109.6" height="109.6"/> <rect x="315.1" y="165.1" fill="#7F9980" width="109.6" height="109.6"/> <rect x="465.9" y="165.1" fill="#4DABA0" width="109.6" height="109.6"/> <rect x="616.6" y="165.1" fill="#1ABDC0" width="109.6" height="109.6"/> <rect x="13.7" y="316.5" fill="#E59A3E" width="109.6" height="109.6"/> <rect x="164.4" y="316.5" fill="#B3A45B" width="109.6" height="109.6"/> <rect x="315.1" y="316.5" fill="#7FAE79" width="109.6" height="109.6"/> <rect x="465.9" y="316.5" fill="#4DB897" width="109.6" height="109.6"/> <rect x="616.6" y="316.5" fill="#1BC2B4" width="109.6" height="109.6"/> <rect x="13.7" y="467.9" fill="#E5BF3C" width="109.6" height="109.6"/> <rect x="164.4" y="467.9" fill="#B3C057" width="109.6" height="109.6"/> <rect x="315.1" y="467.9" fill="#7FC373" width="109.6" height="109.6"/> <rect x="465.9" y="467.9" fill="#4DC78D" width="109.6" height="109.6"/> <rect x="616.6" y="467.9" fill="#1AC8A9" width="109.6" height="109.6"/> <rect x="13.7" y="619.3" fill="#E5E33C" width="109.6" height="109.6"/> <rect x="164.4" y="619.3" fill="#B3DD54" width="109.6" height="109.6"/> <rect x="315.1" y="619.3" fill="#7FD76D" width="109.6" height="109.6"/> <rect x="465.9" y="619.3" fill="#4CD286" width="109.6" height="109.6"/> <rect x="616.6" y="619.3" fill="#1BCB9D" width="109.6" height="109.6"/> </svg> <p>Check console for loaded data</p> <script type="text/javascript"> d3.csv("airline_carrier_delay2015.csv", function(data) { console.log(data); }); </script> </body> </html>
Modified
http://d3js.org/d3.v3.js
to a secure url
https://d3js.org/d3.v3.js