🌍 Public
Viewing a saved revision (read-only)
e94ded1e95fc4d54be197bd3b171f906
Fork of CV: Loading CSV Data
This example shows a stacked bar chart of time allocation across work sessions, breaking down each session into focused work, interruptions, and recovery percentages. It loads a small CSV file with raw text parsing and renders the data using React with D3 v7 and SVG. The visualization uses d3.stack, scaleBand, and scaleLinear to create the bars, with value labels, axes, and a color-coded legend. A ResizeObserver hook tracks container dimensions to redraw the chart responsively.
AI-generated description