Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Food Production

Public visualization

Viewing a saved revision (read-only)

9d9d57e571a24f5d85bdc9431463fba7

World Food Production

0 stars0🌍 Public
Llrsavoie@wpi.edu
Last edited Apr 30, 2024
Created on Jan 24, 2024

This example visualizes world food production data from Kaggle, showing how agricultural output varies by country, food type, and year. It presents a table of parsed CSV values, with each row displaying a country-year combination and its corresponding production figures for crops like maize, rice, and wheat. The code loads the dataset using an import statement, converts string values to numbers for all food categories, and renders the first record as JSON using `JSON.stringify`. The example uses plain JavaScript to handle data parsing and displays the result in an HTML `<pre>` element with a set font size.

AI-generated description