Source: US. Bureau of the Census
Data for "Resident Population" are from estimates as of July 1. Data for 1970 and 1980 are annual census.
US. Bureau of the Census, Resident Population in San Francisco County/city, CA [CASANF0POP], retrieved from FRED, Federal Reserve Bank of St. Louis; https://fred.stlouisfed.org/series/CASANF0POP, December 9, 2016.