pie chart ICE-7
✓ Published1🌍 Public
This chart displays monthly electricity usage for a household over 24 months, using a line with circular markers to show seasonal peaks in summer and winter. Built as a reusable D3 v7 component in SVG, it employs `d3.scaleTime`, `d3.scaleLinear`, and `d3.line` for rendering, with `d3.axisBottom` and `d3.axisLeft` for labeled axes and gridlines. The component exposes a public API including `.update()` for redrawing with new data, reading from a CSV file with `date` and `value` columns. A hover tooltip provides interactive feedback.
AI-generated descriptionMIT Licensed