The following figure is a 3D display of data from the 'mtcars' dataset. Weight, mileage (mpg), and horsepower attributes of different vehicles are displayed against each other on axes representing each of these variables. Symbols are also color-coded by the number of cylinders (4, 6, or 8) in a given vehicle's engine, as shown in the legend.
Hover the cursor over the figure to make the Plotly toolbar appear. Hover the cursor over a data point to view its attributes. Click and drag the figure to rotate it in any direction.