dashboard = {
const container = html`<div style="font-family: Arial, sans-serif; padding: 20px;"></div>`;
const monthLabel = html`<h2 style="margin-bottom: 10px;">
📊 Crime Dashboard — ${selectedMonth.year}, ${new Date(selectedMonth.year, selectedMonth.month).toLocaleString("default", { month: "long" })}
</h2>`;
container.appendChild(monthLabel);
container.appendChild(viewof selectedMonth);
container.appendChild(html`<div style="margin: 10px 0;">Filter by Area:</div>`);
container.appendChild(viewof selectedArea);
const topRow = html`<div style="display: flex; gap: 20px; margin-top: 20px;"></div>`;
const leftBox = html`<div style="flex: 1;"><h4>🔹 Top 10 Crime Types</h4></div>`;
leftBox.appendChild(crimeTypeBar);
const rightBox = html`<div style="flex: 1;"><h4>🟠 Crimes by Area</h4></div>`;
rightBox.appendChild(areaBar);
topRow.appendChild(leftBox);
topRow.appendChild(rightBox);
const bottomBox = html`<div style="margin-top: 40px;"><h4>🔴 Daily Crime Trend</h4></div>`;
bottomBox.appendChild(crimeTrendPlot);
container.appendChild(topRow);
container.appendChild(bottomBox);
return container;
}