Lesson 3
An interactive stacked bar chart displays purchase quantities of various grocery items across years, with controls for filtering by year, month, or week. The visualization uses NVD3’s `multiBarChart` with stacked bars, driven by D3.js for rendering and transitions. Data comes from a local JSON file containing product names and yearly values, while a sidebar offers radio buttons and dropdowns to adjust the temporal granularity. The chart updates its axes and bar groups based on the selected period, integrating SVG rendering for crisp visuals.