AirBNB Price Prediction Viz
This interactive map visualizes AirBNB price predictions across U.S. states, with Colorado, California, and New York highlighted in green to indicate available prediction data. Clicking a highlighted state triggers a transition to a second map of Denver’s neighborhoods, where individual listings appear as red circles. Using d3.geo.albersUsa and d3.geo.mercator projections, the visualization employs d3.json and d3.csv to load TopoJSON state boundaries and GeoJSON neighborhood data alongside listing coordinates. The code uses d3 transitions for zooming and SVG elements for rendering, though city-map display currently replaces the state view rather than layering over it.
AI-generated descriptionThis project aims to visualize an AirBNB pricing prediction model. We aim to do this by filling out the states we have predictions for in green. When a state is clicked it is supposed to zoom into another geojson map that shows the city with listing on it. From this data we want to see where pricings for listings are generally jacked up (touristy sites, downtown, etc.) we observe the data by analyzing clusters or patterns.
Things that need to be implemented/are missing currently:
- popping out city maps: for this to work for now, user would have to double click or go down the page.
- fixing zooming transition for states that have predictions: the zooming transition gets overriden when another map is being popped out
- adding a tooltip to city map to see listing type and pricing
- marking listings in specific colors so that it is easier to see pricings that are higher or lower than the predictions