Skip to main content
100%

ICE-7

✓ Published1🌍 Public
Vvydeeshm@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025
Forked from HTML Starter

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
MIT Licensed

Similar vizzes