Skip to main content
100%

fresh block

✓ Published0🌍 Public
SSkyBTW
Last edited Feb 19, 2018
Created on Feb 16, 2018

This example shows an animated donut chart comparing two datasets: the number of fires and acreage burned, loaded from a TSV file. Toggling between the datasets via radio buttons triggers a smooth transition of the chart’s arcs. The visualization uses `d3.layout.pie`, `d3.svg.arc`, and a custom `arcTween` function with `transition.attrTween` to interpolate between the old and new arc angles. The data is parsed with `d3.tsv`, and the color scale uses `d3.scale.category20`.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes