Skip to main content
100%

3d surface

✓ Published0🌍 Public
SShuyu Zheng
Last edited Jan 13, 2021
Created on Jan 13, 2021
Forked from Hello VizHub

This example shows a 3D surface plot generated from mathematical formulas, with a menu to switch between three different datasets. The surface is rendered as an SVG path, with projected 3D coordinates transformed into 2D space. The code uses D3 v5 to bind data and create the SVG elements, while the surface geometry is derived from functions like sine and cosine applied to a grid of x and y values. Users can click list items to select a dataset, which updates the displayed surface.

AI-generated description

Ploting 3D surface from array. The original code comes from Paul Brunt's Block

MIT Licensed

Similar vizzes