Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fresh Vegetables Data

Public visualization

Viewing a saved revision (read-only)

92acea56e0c445b8ad96f4dc6a11cffa

Fresh Vegetables Data

0 stars0🌍 Public
NNagasharan Sai Nandyala
Last edited Mar 19, 2025
Created on Mar 18, 2025
Forked from Airlines

This example summarizes a CSV dataset of fresh vegetables in the USA, displaying key metrics such as file size, row and column counts, average price per pound, most common region, and most common season. It loads the data using `d3.csv` from a GitHub gist, then computes aggregations with `d3.nest().key().rollup()` for region and season counts, and calculates the average price by parsing the `Price per Pound (USD)` column. The summary is rendered as formatted HTML inside a styled `div`, with the page styled using inline CSS on a red background.

AI-generated description