Skip to main content
100%

Hierarchical Horizontal Bar Chart

✓ Published0🌍 Public
SStuart Sessions
Last edited May 1, 2024
Created on May 1, 2024

This example presents a hierarchical horizontal bar chart that visualizes nested data as a drill-down navigation. Users click a bar to descend into its children or click the background to return to the parent level, with bars and text animating through position and opacity transitions. The visualization is built with D3 v3, using `d3.layout.partition` to compute the tree layout, `d3.svg.axis` for the scale, and `transition.attr` tweening to animate changes. It loads JSON data from a remote GitHub Gist and uses SVG for rendering, with color distinguishing parent from child nodes.

AI-generated description
MIT Licensed

Similar vizzes