Skip to main content
100%

bnb Test

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

This visualization shows a choropleth-style map of U.S. states, with three states highlighted in green to indicate the availability of AirBNB pricing predictions. Clicking a highlighted state triggers a zoom transition using D3’s `d3.geo.path` and `transition.attr`; selecting Colorado also logs data to the console. The map uses TopoJSON state boundaries from a remote gist, while listing data is loaded from a CSV file, though no city-level popups are yet implemented. The SVG rendering employs `d3.geo.albersUsa` projection and D3 v3 event handlers.

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