CensusGPT is a natural-language interface for US census data, built on the open-source textSQL project: questions asked in plain English get converted to SQL using GPT-3.5, then run directly against a real census database covering demographics, income, education, population, and crime statistics drawn from the 2021 American Community Survey and the FBI’s 2019 Uniform Crime Report.
Handling genuinely complex questions – identifying which neighborhoods have the highest crime rate or racial diversity, not just looking up a single state or city’s basic stats – is what separates this from a simple census data lookup tool. Interactive map and bar chart visualization (built with Mapbox and Plotly) turns a raw SQL query result into something a researcher, journalist, or curious citizen can actually interpret, without needing to write or understand SQL themselves.
CensusGPT targets researchers, journalists, and anyone wanting to explore publicly-available census and crime data without SQL knowledge. It’s free to use, drawing entirely on public government data sources.








