Skip to main content
100%

Household monthly electricity consumption

✓ Published0🌍 Public
LLaurynKW
Last edited Apr 5, 2018
Created on Apr 5, 2018

This example shows yearly revenue for Eastern oysters from 1950 to 2016 in a radial bar chart, where each arc represents one year and its angular extent encodes the revenue value. The chart animates each arc’s growth using `transition.attrTween` with an interpolator, and provides tooltips on hover. It uses `d3.csv` to load the data, `d3.arc` for the arcs, `d3.scaleLinear` for mapping values to angles, and `d3.scaleOrdinal` with `d3.schemeCategory10` for colors. The data comes from a CSV file containing year, species, metric tons, pounds, and revenue.

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