Skip to main content
100%

Hotel occupation scatter Plot

✓ Published0🌍 Public
MMarcelo
Last edited May 11, 2021
Created on Apr 13, 2021

This scatter plot shows hotel room occupation rates for six amenities (spa, pool, restaurant, bar, beach, gym) across user-selectable time zones or weekdays. The D3 v5 visualization loads CSV data and renders animated circles whose size reflects each amenity's capacity and whose color encodes the amenity type via `schemeCategory10`. A dropdown menu dynamically re-renders the scatter plot, switching between hourly and daily time domains using `scaleBand` and `scaleLinear` axes. Interactive tooltips display amenity and occupation percentage on mouseover, while the legend lists amenities sorted by capacity.

AI-generated description

Hotel occupation using D3 library. Marcelo Rocha

MIT Licensed

Similar vizzes