Housing Market Index (HMI) Tracker (U.S. NAHB)
Filters & Display Options
Latest Available Index (Overall)
Loading...
HMI Data Table
HMI Trend Chart
Note: This tracker uses a static, embedded dataset of historical U.S. NAHB/Wells Fargo Housing Market Index values. Data is for informational purposes and may not be the absolute latest available. Last data update in embedded set: April 2025.
Table data not available.
"; let chartHTML = "Data Chart
"; const svgElement = chartSVGContainer ? chartSVGContainer.querySelector('svg') : null; if (svgElement) { const svgClone = svgElement.cloneNode(true); svgClone.setAttribute('width', '700'); svgClone.setAttribute('height', '400'); svgClone.style.maxWidth = '100%'; chartHTML += svgClone.outerHTML; if (legendSection) { chartHTML += `Legend
${legendSection.innerHTML}
`;
}
} else {
chartHTML += "Chart not available.
"; } const currentDateTime = new Date().toLocaleString(); const latestValueText = document.getElementById('hmitLatestValueText')?.textContent || "N/A"; const pdfContent = `Housing Market Index (HMI) Tracker Report
Generated: ${currentDateTime}
Latest Available Index (Overall): ${latestValueText}
${filtersHTML}
${tableHTML}
${chartHTML}
This report uses a static, embedded dataset. Data is for informational purposes. Last data update in embedded set: April 2025.
`; const pdfWindow = window.open('', '_blank'); if (pdfWindow) { pdfWindow.document.write(pdfContent); pdfWindow.document.close(); setTimeout(() => { pdfWindow.print(); }, 500); } else { alert("Popup blocked. Please allow popups for this site to download the report."); } }