Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Treemap from bl.ocks.org

Public visualization

Treemap from bl.ocks.org

0 stars0🌍 Public
LLeoBergqvist
Last edited Mar 1, 2020
Created on Mar 1, 2020

This interactive treemap visualizes a hierarchical dataset representing two academic semesters, with courses nested within periods. The treemap uses animated rectangles whose sizes reflect either the sum of course credits or the count of courses within each category, toggleable via radio buttons. Built with D3 v4’s `d3.treemap` and `d3.hierarchy`, the SVG rendering includes labels with clipping paths and color-coded tiles. Data loads from `flare.json`, and transitions animate layout changes via the `transition()` method.

AI-generated description

An example of porting a work from bl.ocks.org into VizHub. This is a direct port of Mike Bostock’s Block: Treemap, modified only to split into separate files, and to fit in the space available.

Comments

Sign in to join the discussion.

MIT Licensed