Hotel booking demand
This visualization displays hotel booking demand data loaded from a CSV file and rendered as raw JSON text. It uses D3 v7’s `csvParse` to parse the dataset, converting numeric fields such as petal length and width to numbers. The code fetches data from a remote gist URL and updates the display via a state management pattern, showing the parsed contents in a `<pre>` element. The visualization demonstrates basic data loading and rendering without additional graphical encodings.
AI-generated descriptionThis data set contains booking information for a city hotel and a resort hotel, and includes information such as when the booking was made, length of stay, the number of adults, children, and the number of available parking spaces, etc. There are 32 columns
Link: https://www.kaggle.com/datasets/jessemostipak/hotel-booking-demand