Gist 6a8973daaeea6e442bd0a138c08ccbc1
This visualization maps Airbnb listings from a JSON dataset onto a geographic canvas, displaying each property as a point positioned by its latitude and longitude. The code uses the `d3.forceSimulation` API to apply a physics-based layout that separates overlapping points, while `d3.geoPath` renders the map’s spatial context. Each point’s color and size encode the listing’s review score and nightly rent, with tooltips revealing property details like title and neighborhood. The underlying data, from a gist, includes address fields, review ratings, and fee structures, driving the visual encoding. The result is an interactive scatterplot over a map, illustrating the distribution of rental properties and their pricing patterns.