Skip to main content
100%

Household monthly electricity consumption

✓ Published0🌍 Public
HHeywhoyou22
Last edited Apr 3, 2018
Created on Apr 3, 2018

This example visualizes household monthly electricity consumption as a radial bar chart, where each month is represented by an arc whose length corresponds to energy usage. The D3 v4 code reads data from an external CSV file and uses `d3.arc`, `d3.scaleLinear`, and `d3.scaleOrdinal` to construct the chart. Animated transitions are applied via `transition.attrTween` with `d3.interpolate`, while hover interactions display tooltips showing raw values. The SVG rendering includes radial and axial axes with tick labels.

AI-generated description

forked from <a href='http://bl.ocks.org/AntonOrlov/'>AntonOrlov</a>'s block: <a href='http://bl.ocks.org/AntonOrlov/6b42d8676943cc933f48a43a7c7e5b6c'>Radial Bar Chart built with D3</a>

forked from <a href='http://bl.ocks.org/eamonm95/'>eamonm95</a>'s block: <a href='http://bl.ocks.org/eamonm95/06017a9027374cc1ac1fddd901bfcf27'>Radial Bar Chart built with D3</a>

gpl-3.0 Licensed

Similar vizzes