How can i make a pyramid shape based on a periodic table

There are many examples in the Collection of examples from discourse.threejs.org
e.g.
PictureBall
BufferGeometry
Planes on Sphere
https://hofk.de/main/discourse.threejs/2020/MovingObject/MovingObject.html

and many more. :slightly_smiling_face:

From three.js examples you got the sphere and others. You just have to calculate the geometry differently. Some math.

// sphere

				var vector = new THREE.Vector3();

				for ( var i = 0, l = objects.length; i < l; i ++ ) {

					var phi = Math.acos( - 1 + ( 2 * i ) / l );
					var theta = Math.sqrt( l * Math.PI ) * phi;

					var object = new THREE.Object3D();

					object.position.setFromSphericalCoords( 800, phi, theta );

					vector.copy( object.position ).multiplyScalar( 2 );

					object.lookAt( vector );

					targets.sphere.push( object );

				}

UPDATE:
https://hofk.de/main/discourse.threejs/2018/BufferWithNormals/BufferWithNormals.html