1234567891011121314151617181920212223242526272829 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Egghead D3 v4</title>
- <script src="node_modules/d3/build/d3.js"></script>
- <style>
- .chart {
- background: lightgray;
- border: 1px solid black;
- min-width: 200px;
- min-height: 350px;
- }
- .bar {
- height: 30px;
- color: green;
- fill: lightgreen;
- stroke: black;
- stroke-width: 1;
- }
- </style>
- </head>
- <body>
- <div class="chart"></div>
- <script src="src/app.js"></script>
- </body>
- </html>
|