Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Food Production per country

Public visualization

Viewing a saved revision (read-only)

c179bf8f6805463cbf796a5d5205bcbc

Food Production per country

0 stars0🌍 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