Skip to main content
Public

Share visualization

Loading preview…

plot 2

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

plot 2

0
Ppriyankachary1701@gmail.com
Last edited Nov 18, 2025
Created on Nov 18, 2025

The visualization displays the prevalence of undernourishment for the top ten countries in a selected year, using an interactive side-by-side pie chart and bar chart. A year selector and color-coded legend allow users to compare regional values. The D3 v7 code filters a FAOSTAT CSV dataset, then uses `d3.pie` and `d3.arc` for the pie, `d3.scaleBand` and `d3.scaleLinear` for the bar chart, and a hover tooltip. The charts are rendered as SVG with `d3.select`, `d3.scaleOrdinal`, and `arc.join`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed