← All projects

CommunityLens

A product concept that helps people moving to or around Charlotte find the neighborhoods that suit them, and shows the evidence behind every suggestion. A case study in designing a data product you can trust, where every number is traceable, scored for confidence and explained.

  • Next.js
  • Python
  • FastAPI
  • PostgreSQL
  • PostGIS
  • OpenStreetMap
  • Terraform
  • Azure

CommunityLens is a product concept (tagline: Understand where you fit) for helping someone moving to or within the Charlotte area find the neighborhoods that suit them, and showing the evidence behind every suggestion.

The matching is the hook. The real point is everything behind it: where each number came from, how far to trust it, why one neighborhood ranks above another, and keeping the whole thing fair.

What you can do

  • Onboarding. A short set of animated questions: your rent ceiling, a commute destination (a real address, geocoded), how you travel there and the longest trip you'll accept, and your priorities, picked from a list or typed in plain English.
  • Explore. A map of about 40 Charlotte communities, drawn from OpenStreetMap data with animated creeks, roads and the LYNX light-rail lines. Each community shows 16 metrics in five groups: housing, demographics, transportation, amenities, and safety and environment.
  • Find My Fit. A ranked list of communities with a 0–100 fit score. Every score is broken down metric by metric, and the weaker spots are listed as tradeoffs.
  • Listings. Rental listings shown against the community's median rent.
  • MyCommunity. Reviews from residents, who must prove by location that they're in the neighborhood before posting.
  • Profile. Your saved preferences.

Built to be trusted

  • Every number is traceable. One file, metrics.yaml, defines each metric: its label, unit, source, formula, refresh rate, and whether higher is better. The data generator, the API, the filters and the planned LLM all read from it. In the database, each value links back to its source, its raw data, the transformation applied and the calculation version.
  • Confidence on everything. Each metric carries a confidence score built from how fresh the data is, how much of the area it covers, and its margin of error. Resident reviews get their own score, from how many there are, how recent they are, how much reviewers agree and how many are verified.
  • No black-box rankings. The fit score is a weighted percentile average, and you can see and edit the weights. Each priority (such as "Walk to things") maps to specific measured metrics, so any ranking can be explained with the same facts shown in Explore. Tradeoffs are shown, not hidden.
  • You confirm what it understood. When you type your priorities, the app replies "I heard: …" and quotes the exact words it matched. Nothing is applied until you confirm.
  • Fair-housing guardrails. Words about demographics or protected classes are never turned into a preference. Demographic metrics have no "better" direction, so they never affect a ranking.
  • It checks its own claims. Listing cards show each rent next to the community's claimed median and report the gap (about +4.5% on average). Resident ratings sit beside the matching measured figure: safety next to crime, getting around next to walkability, value next to rent. Perception and measurement stay visibly separate.
  • Privacy by design. Location checks for reviews never store coordinates, only the matched community, and only for 30 minutes. One review per community, and links, emails and phone numbers are blocked in review text.
  • Honest about its limits. The data is labeled synthetic, commute times are labeled a demo model, and desktop-verified reviews are badged "Demo verification". The docs say plainly that GPS can be faked, and that location alone shouldn't count as proof of residency.

The concept so far

An early prototype (Build 1) proves out the core ideas:

  • Data: all synthetic, and labeled that way everywhere. It's generated from neighborhood archetypes (core, streetcar, affluent, suburb, exurb, university), with a shared hidden factor so related metrics move together plausibly. Walkable areas tend to have higher rent, for example.
  • Frontend: a Next.js app covering every screen above, running on bundled data.
  • Backend: FastAPI with PostgreSQL and PostGIS, database migrations, tables that record where every value came from, and CI. A contract test keeps the API's numbers identical to the prototype's, so the frontend switches over to the live API by setting a single variable.

What's next

  • Real neighborhood boundaries, then real data pipelines in place of the synthetic data: Census ACS, HUD, OpenStreetMap, GTFS transit feeds and police crime data.
  • User accounts, server-side review verification, a listings feed, real commute routing, and an LLM that turns typed preferences into priorities.
  • Hosting on Azure. The Terraform for the core infrastructure is written, ready to apply.