Skip to main content
100%

Transition Between Three Views

✓ Published0🌍 Public
DDarienLiang
Last edited Oct 1, 2016
Created on Sep 28, 2016

The visualization demonstrates a smooth transition of a categorical fruit-count dataset between three chart types: a bar chart, a pie chart, and a donut chart. It starts with labeled bars, then animates each bar into a pie slice, and finally adjusts the inner radius to form a donut. The code uses D3.js v3 with SVG and custom tween functions on paths to interpolate geometric properties, while leveraging ordinal and linear scales for layout and category colors for encoding. The data is loaded from a CSV file.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes