Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

1b2faab344f84fdaadd1748cf73d977e

Untitled

0 stars0🌍 Public
Aavinash021997
Last edited Mar 10, 2022
Created on Mar 10, 2022
Forked from D3 Starter

A grid of 3D cubes with negative heights forms a field of inverted pillars, each labeled with a numeric value reflecting its length. A button triggers a re-render of the data, while the whole scene can be dragged to rotate in three dimensions. The visualization uses the `d3-3d` library to project cube vertices and faces, with D3 v4 handling transitions and sorting. The code constructs cube data procedurally using random uniform heights and animates the cube faces, text labels, and sorting order via `.transition().duration()`.

AI-generated description

A demonstration of how to start using D3 version 6.