Spaces:
Running
Running
Download index.html from OctoberAI/floor-plan-prices: direct link, hf CLI and curl.
- Browser
- Download file 5.12 kB
-
https://huggingface.co/spaces/OctoberAI/floor-plan-prices/resolve/main/index.html
- Command line
-
hf download hf://spaces/OctoberAI/floor-plan-prices/index.html
-
curl -L -o index.html https://huggingface.co/spaces/OctoberAI/floor-plan-prices/resolve/main/index.html
5.12 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Real estate floor plan prices by provider (2026)</title> | |
| <meta name="description" content="Cheapest published 2D floor plan price from floor plan services, scan platforms and apps for property listings, read from each provider's own page on 18 November 2026. Some prices are per floor, some per property; providers that showed only another currency are left out of the chart."> | |
| <style> | |
| :root { --ink: #16171a; --muted: #5e6169; --bar: #ff9f43; --line: #e4e4e4; --bg: #fff; } | |
| @media (prefers-color-scheme: dark) { :root { --ink: #f2f2f2; --muted: #a7a9ae; --line: #33353a; --bg: #111214; } } | |
| body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, sans-serif; } | |
| main { max-width: 820px; margin: 0 auto; padding: 28px 16px 48px; } | |
| h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; } | |
| p { color: var(--muted); margin: 0 0 14px; } | |
| a { color: inherit; } | |
| .row { display: grid; grid-template-columns: 200px 1fr 110px; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line); } | |
| .bar { height: 14px; background: var(--bar); border-radius: 3px; } | |
| .val { text-align: right; font-variant-numeric: tabular-nums; } | |
| .val small { color: var(--muted); } | |
| footer { margin-top: 22px; font-size: 13px; color: var(--muted); } | |
| @media (max-width: 560px) { .row { grid-template-columns: 120px 1fr 86px; } } | |
| </style> | |
| </head> | |
| <body> | |
| <main> | |
| <h1>Real estate floor plan prices by provider (2026)</h1> | |
| <p>Cheapest published 2D floor plan price from floor plan services, scan platforms and apps for property listings, read from each provider's own page on 18 November 2026. Some prices are per floor, some per property; providers that showed only another currency are left out of the chart.</p> | |
| <div id="chart" aria-live="polite">Loading the data…</div> | |
| <footer> | |
| Data: <a href="https://huggingface.co/datasets/OctoberAI/us-real-estate-listing-photo-data">OctoberAI/us-real-estate-listing-photo-data</a> (CC BY 4.0), also on | |
| <a href="https://github.com/October-ai-jpg/listing-photo-data">GitHub</a> and <a href="https://www.october-ai.com/data">october-ai.com/data</a>. | |
| The numbers in words, with every source: <a href="https://www.october-ai.com/guides/real-estate-floor-plan-cost">real estate floor plan cost</a>. Prices are what each business publishes, mostly "starting at" prices. | |
| </footer> | |
| </main> | |
| <script> | |
| const CFG = {"csv": "floor-plan-prices.csv", "group": "provider", "filter": null, "cols": ["floor_plan_from_usd"], "link": "url"}; | |
| const CSV = "https://huggingface.co/datasets/OctoberAI/us-real-estate-listing-photo-data/resolve/main/data/" + CFG.csv; | |
| function parseCsv(t) { | |
| const rows = []; let row = [], f = "", q = false; | |
| for (let i = 0; i < t.length; i++) { | |
| const c = t[i]; | |
| if (q) { if (c === '"' && t[i + 1] === '"') { f += '"'; i++; } else if (c === '"') q = false; else f += c; } | |
| else if (c === '"') q = true; else if (c === ",") { row.push(f); f = ""; } else if (c === "\n") { row.push(f); rows.push(row); row = []; f = ""; } else if (c !== "\r") f += c; | |
| } | |
| if (f || row.length) { row.push(f); rows.push(row); } | |
| const [h, ...rs] = rows; | |
| return rs.filter((r) => r.length === h.length).map((r) => Object.fromEntries(h.map((k, i) => [k, r[i]]))); | |
| } | |
| const median = (v) => { const s = [...v].sort((a, b) => a - b), m = s.length >> 1; return s.length % 2 ? s[m] : (s[m - 1] + s[m]) / 2; }; | |
| const money = (v) => (v < 10 ? "$" + v.toFixed(2) : "$" + Math.round(v)); | |
| fetch(CSV).then((r) => r.text()).then((t) => { | |
| const data = parseCsv(t).filter((r) => !CFG.filter || r[CFG.filter] === "true"); | |
| const by = {}, href = {}; | |
| for (const r of data) { | |
| const v = CFG.cols.map((c) => parseFloat(r[c])).filter((x) => Number.isFinite(x) && x > 0); | |
| if (!v.length) continue; | |
| (by[r[CFG.group]] ||= []).push(Math.min(...v)); | |
| if (CFG.link && r[CFG.link]) href[r[CFG.group]] = r[CFG.link]; | |
| } | |
| const rows = Object.entries(by).map(([k, v]) => ({ k, med: median(v), n: v.length })).sort((a, b) => b.med - a.med); | |
| const max = Math.max(...rows.map((r) => r.med)); | |
| const el = document.getElementById("chart"); el.textContent = ""; | |
| for (const r of rows) { | |
| const d = document.createElement("div"); d.className = "row"; | |
| const name = document.createElement("div"); | |
| if (href[r.k]) { const a = document.createElement("a"); a.href = href[r.k]; a.rel = "nofollow noopener"; a.textContent = r.k; name.append(a); } else name.textContent = r.k; | |
| const bw = document.createElement("div"); const bar = document.createElement("div"); bar.className = "bar"; bar.style.width = `${(r.med / max) * 100}%`; bw.append(bar); | |
| const val = document.createElement("div"); val.className = "val"; val.innerHTML = `${money(r.med)}${CFG.link ? "" : ` <small>(${r.n})</small>`}`; | |
| d.append(name, bw, val); el.append(d); | |
| } | |
| }).catch(() => { document.getElementById("chart").textContent = "Could not load the data."; }); | |
| </script> | |
| </body> | |
| </html> | |