Skip to main content
100%

3D Scatter Plot Saranya

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

Similar vizzes