BarChartAnimation
✓ Published0🌍 Public
OOussamaHOURIRA
Last edited Feb 2, 2018
Created on Feb 2, 2018
This visualization displays monthly average stock prices for MSFT, AMZN, and IBM from 2000 to 2010, using animated transitions between stacked and grouped bar charts. Users toggle between the two modes via radio buttons. The code uses d3.nest to aggregate the CSV data by year and symbol, d3.stack for the stacked layout, and chained transition calls to smoothly morph rectangle positions, sizes, and axis scales (d3.axisLeft) for each mode change.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed