Skip to main content
100%

3D Scatter Plot

✓ Published0🌍 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.
MIT Licensed

Similar vizzes