Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

3D Scatter Plot Saranya

Public visualization

Viewing a saved revision (read-only)

cce2749afb324a9bb25b8ac522acefcf

3D Scatter Plot Saranya

0 stars1🌍 Public
MMalempatiSaranya
Last edited Jul 6, 2022
Created on Jul 6, 2022
Forked from Hello VizHub

This 3D scatter plot visualizes the calcium, vitamin, and protein content of vegetables as three-dimensional points. Each blue marker represents a vegetable, positioned according to its nutrient values from a CSV file loaded via `d3.csv`. The code uses Plotly’s `Plotly.newPlot` with a `scatter3d` trace, while `d3.csv` handles data parsing with the `unpack` function to extract columns. The layout defines styled axis titles for the three nutrient dimensions.

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.