Skip to main content
100%

Fork of area chart

✓ Published1🌍 Public
Kkoppulasudhakar03@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025
Forked from D3 Starter

This fork of an area chart visualizes agricultural land percentage across ten countries using data from a CSV file. It encodes each country as a categorical band on the x-axis with a filled polygon drawn by `d3.area()`. The y-axis uses a linear scale to map values, and `d3.scaleBand()` positions the countries. The SVG rendering includes rotated x-axis labels, grid-free axes via `d3.axisBottom()` and `d3.axisLeft()`, and annotations for country, percentage, and title. The lightgreen fill with darkgreen stroke highlights the distribution from Nigeria's 77.4% to Japan's 12.3%.

AI-generated description
MIT Licensed

Similar vizzes