🌍 Public
Viewing a saved revision (read-only)
370a849489ee493fa02030086f7dcad5
ICE-7
This interactive line chart visualizes 24 months of synthetic household electricity usage data from a CSV file. The line and points track seasonal consumption patterns, rising and falling across the year with peaks in summer and winter months. Built with reusable D3 v7 component architecture, it uses `d3.scaleTime()`, `d3.scaleLinear()`, and `d3.line()` to render the SVG, with gridlines, axes, and tooltips. The chart supports dynamic updates through a public `.update()` method, making it adaptable for any time-series dataset with date and value columns.
AI-generated description