Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

3D Scatter Plot

Public visualization

Viewing a saved revision (read-only)

ceef812f300a4129ad72d85a2a218dd2

3D Scatter Plot

0 stars0🌍 Public
PPavaniMangugari
Last edited Jul 7, 2022
Created on Jul 6, 2022

This interactive 3D scatter plot visualizes nutrient data for fruits, plotting Vitamins, Calcium, and Protein along the x, y, and z axes. It loads a CSV from a GitHub gist using D3’s `d3.csv` function, then passes the parsed rows to Plotly’s `Plotly.newPlot` method. The visualization uses a `scatter3d` trace with blue circular markers and green outlines, styled with custom axis titles and colors. The chart is embedded in an HTML page with a heading and is rendered inside a designated `div` element.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.