Explore San Francisco housing prices and the relationship between housing prices and crime rates. See how housing pricing and crime rates have changed in past years, and see predictions about future trends.

Whether you are looking to buy, sell, or even rent in San Francisco, this product is for you!

Start Exploring

Explore Historic Data

See which zipcode areas have beaten the market in the past and had an increase in prices that was above average for San Francisco.

Explore Zipcode

See detailed information about a zipcode, including price changes in the past year and crime rates.


Want to know how your zipcode will do in 2016? See whether or not a given zipcode is predicted to beat the market, and have a housing price increase above the average for San Francisco in 2016.

How it works

The Data

Prices per square foot for the zipcodes in SF over time are from zillow, and crime data over time is from the SF open data.

The Model

Using pricing data for each of the zipcodes in San Francisco and crime data from the San Francisco open data I built a logistic regression model, making a prediction about whether or not a given zipcode area will beat the market.

Beating the market is defined as having a rise in price per square foot that is above the average rise for San Francisco.

As predictors I use normalized percentage of crime and crime type, looking at the crime occurring a year prior to the predicted year.

Using 21 features the model reaches over 65% accuracy.