Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

3D Scatter Plot for bonus

Public visualization

Viewing a saved revision (read-only)

232c9124249a4a1f9a11f461877b5a20

3D Scatter Plot for bonus

0 stars0🌍 Public
Pprashanth yamala
Last edited Jul 6, 2022
Created on Jul 5, 2022

This 3D scatter plot visualizes retail sales data by plotting price, quantity, and rating in one trace, and price, quantity, and tax in a second trace. Two sets of markers are rendered in three-dimensional space using Plotly’s `scatter3d` type. The code loads CSV data with D3’s `d3.csv` and unpacks columns into arrays, then constructs the traces with custom marker styling, opacity, and line settings. The chart is displayed inside a div using `Plotly.newPlot` with a zero-margin layout.

AI-generated description

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

See also React Starter.