Skip to main content
100%

Fork of Fork of AirBNB Price Prediction TEST - sham

✓ Published0🌍 Public
RRahmoon Shamdeed Kabir
Last edited May 10, 2024
Created on May 9, 2024

This interactive D3.js map visualizes AirBNB pricing predictions across U.S. states, highlighting Colorado, California, and New York in green as special regions. Clicking a state triggers a zoom animation using `d3.geo.albersUsa()` and `d3.geo.path()`, while clicking Colorado replaces the map with a Denver neighborhood visualization using `d3.geo.mercator()`. The SVG rendering displays city listings overlaid on the neighborhood boundaries, sourced from local GeoJSON and CSV files. The transition between state and city maps is animated via `d3.transition()` with a duration of 750ms, though pending features include tooltips and color-coded pricing markers.

AI-generated description

This 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
MIT Licensed

Similar vizzes