Skip to main content
100%

Food Production per country

✓ Published0🌍 Public
Llrsavoie@wpi.edu
Last edited Apr 29, 2024
Created on Apr 29, 2024

This interactive line chart displays food production tonnage over time for a selected country, with each line representing a different food type. A country dropdown filters the data, while a categorical color legend highlights specific food categories on hover, dimming non-selected lines. The visualization uses D3.js scales, axes, and line generators, with data from the `@lukesavoie/worldfoodproduction` package. The color legend component manages hover interactions and opacity fading to emphasize the selected food type across all countries.

AI-generated description
MIT Licensed

Similar vizzes