3D Scatter Plot
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed