D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
toxford
Full window
Github gist
d3 final - airlines multiline
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>d3-linechart-mod6</title> <link rel="stylesheet" type="text/css" href="d3-styles.css" /> <script type="text/javascript" src="d3.v3.js"></script> </head> <body> <h1>Flight delays</h1> <p>Unlike weather delays, carrier delays can be prevented. This chart shows the percentage of U.S. domestic flights delayed by circumstances within the airline’s control (e.g. maintenance, crew problems, fueling).</p> <div id="d3Chart"></div> <p class="sourceline">Source: <a href="https://www.transtats.bts.gov/OT_Delay/OT_DelayCause1.asp">Bureau of Transportation Statistics</a></p> <script type="text/javascript" src="d3multiline.js"></script> </body> </html>