Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

hotel booking

Public visualization

Viewing a saved revision (read-only)

ef236001f63a47b9a9e743cb3527e567

hotel booking

0 stars0🌍 Public
Vvagdevi-369
Last edited Apr 28, 2023
Created on Apr 27, 2023
Forked from 3D Scatter Plot

This interactive 3D scatter plot visualizes hotel booking data, comparing agents based on repeated guest status, previous cancellations, and prior non-canceled bookings. Two distinct traces plot these metrics as colored spheres—green for repeated guests against cancellations, and pink for cancellations against successful bookings—with opacity revealing data density. The visualization uses Plotly’s `scatter3d` type via the `Plotly.newPlot` API, loading CSV data through D3’s `d3.csv`. The chart is rendered inside a DIV element on a minimal HTML page, with a title indicating focus on agent performance. Marker size and green outline styling enhance point differentiation in the three-dimensional space.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.