🌍 Public
Viewing a saved revision (read-only)
465880ba5d284349ac22caee31c9e00d
Untitled
A 3D scatter plot displays menu items across four categories—Main Course, Beverages, Desserts, and Appetizers—with each category as a separate trace. The x-axis shows orders count, y-axis shows total sales, and z-axis shows stock availability, using data loaded from a CSV file via `d3.csv`. The code uses Plotly’s `Plotly.newPlot` to render the chart, with markers sized and colored per category. The `unpack` function filters rows by `Menu_Category` to extract the corresponding values for each axis.
AI-generated descriptionReact Starter code.