Skip to main content
Public

Share visualization

Loading preview…

Fork of 3d Bar Chart

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

Fork of 3d Bar Chart

0
RRahulSai05
Last edited Mar 10, 2022
Created on Mar 10, 2022

This example displays a 3D bar chart using d3 and SVG, with bars rendered as extruded blocks and a pseudo-3D perspective projection. The chart uses a custom `bar3d.js` module that computes visible faces (front, top, left, right) based on a camera position, and animates changes via d3's transition system. The data is loaded from a TSV file and mapped to categorical x- and z-axes, with bar heights representing frequency. The bars are drawn with distinct face colors and highlight on hover, while axis labels and gridlines are styled using the d3.svg.axis API.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed