HW-9-StackGroup
✓ Published0🌍 Public
VVarsha-Ravi
Last edited Apr 7, 2018
Created on Apr 7, 2018
This example shows a stacked bar chart of YouTube video engagement metrics, with bars grouped by video category and colored by country. The chart animates the bars as they transition between stacked and grouped states. The visualization is built with D3 v4 and renders in SVG. It reads data from a CSV file containing YouTube video statistics (views, likes, dislikes, comments) for the United States across categories like Music, News and Politics, and Entertainment. The animation smoothly rearranges the stacked bars into side-by-side groups when toggled, making it easy to compare categories and metrics. The chart includes axis labels and a legend, with colors distinguishing the metrics.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed