Fork of Food Production Stacked Bar Chart
This visualization displays the estimated food production for major continents in 2021, broken down by food type using stacked horizontal bars. It uses D3.js scales such as `scaleBand` and `scaleLinear`, with `axisBottom` and `axisLeft` for axes. The data comes from a Kaggle dataset on world food production, loaded as CSV and filtered to the year 2021. A color legend with mouse interactions highlights specific food categories on hover, applying a fade effect to non-selected bars.
AI-generated descriptionStacked bars showing estimated food production breakdown of the continents. Based on an example from the tutorial
https://www.kaggle.com/datasets/rafsunahmad/world-food-production
https://raw.githubusercontent.com/lukesavoie/dataviz/main/world%20food%20production.csv loaded and parsed as CSV.