/* *@version: 01.12.2023 *@author: Leilani Riehmann * */ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Choropleth Map</title> <link rel="icon" href="data:;base64,iVBORw0KGgo=" /> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin="" /> <style> body { margin: 0; padding: 0; } #map { position: absolute; top: 0; bottom: 0; width: 100%; } .info.legend { padding: 5px; background: white; border: 1px solid #ccc; border-radius: 5px; display: flex; flex-direction: column; } .info.legend i { width: 18px; height: 18px; margin-bottom: 4px; opacity: 0.7; } .info { padding: 6px 8px; font: 14px/16px Arial, Helvetica, sans-serif; background: white; background: rgba(255, 255, 255, 0.8); box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); border-radius: 5px; } .info h4 { margin: 0 0 5px; color: #777; } </style> </head> <body> <div id="map" style="height: 100vh;"></div> <canvas id="myChart"></canvas> <script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script> <script src="https://d3js.org/d3.v5.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <script src="KarlsruheMap.js"></script> </body> </html>