Skip to main content
Public

Share visualization

Loading preview…

3D Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

3D Scatter Plot

0
Nnikhilagopi
Last edited Apr 5, 2023
Created on Apr 5, 2023
Forked from HTML Starter

A 3D scatter plot visualizes nutrient data for various vegetables, mapping calcium, vitamin, and protein content along the three axes. The chart uses blue circular markers with green outlines and an opacity setting, rendered within a styled layout that includes axis titles and no margin. It loads a CSV dataset from a GitHub gist using D3's `d3.csv` function, then constructs the plot with Plotly's JavaScript API, specifically the `Plotly.newPlot` method and `scatter3d` trace type.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed