🌍 Public
Viewing a saved revision (read-only)
2f4751968b04495abc132028a5626f69
STOCK EXPIRATION (SIMPLIFYING)
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 descriptionV2 Example taken from here https://bl.ocks.org/amo6002/921e5933211ee996cd49420b21afca2c