index.html 565 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Egghead D3 v4</title>
  6. <script src="node_modules/d3/build/d3.js"></script>
  7. <style>
  8. .chart {
  9. background: lightgray;
  10. border: 1px solid black;
  11. }
  12. rect {
  13. fill: steelblue;
  14. }
  15. rect:hover {
  16. fill: turquoise;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div class="chart"></div>
  22. <script src="data/data.js"></script>
  23. <script src="src/responsivefy.js"></script>
  24. <script src="src/app.js"></script>
  25. </body>
  26. </html>