Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

STOCK EXPIRATION (SIMPLIFYING)

Public visualization

Viewing a saved revision (read-only)

c865c47313b047b28d67c1e628711997

STOCK EXPIRATION (SIMPLIFYING)

0 stars0🌍 Public
GGuillamon
Last edited Mar 30, 2020
Created on Mar 28, 2020

A hierarchical treemap visualizes stock expiration data, grouping products by brand, category, and lot, with rectangle size reflecting quantity. The view is interactive, allowing users to click parent nodes to drill down into subcategories. Built with D3.js v4, it uses `d3.treemap`, `d3.hierarchy`, and `d3.nest` to structure the data. Color scales encode alert levels and expiration urgency. SVG rendering with hover tooltips displays details. The hierarchy is derived from a CSV with dimensions like item name and expiration days.

AI-generated description