index.html 570 B

1234567891011121314151617181920212223242526272829
  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. min-width: 200px;
  12. min-height: 350px;
  13. }
  14. .bar {
  15. height: 30px;
  16. color: green;
  17. fill: lightgreen;
  18. stroke: black;
  19. stroke-width: 1;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <div class="chart"></div>
  25. <script src="src/app.js"></script>
  26. </body>
  27. </html>