Skip to main content
Public

Share visualization

Loading preview…

Area Chart

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

Area Chart

0
Ttarungunda
Last edited Mar 28, 2022
Created on Mar 28, 2022

This area chart visualization tracks annual per-capita CO2 emissions in India over time, using a yellow filled area to highlight changes against a light gray grid. The chart employs D3 v5’s `scaleTime` and `scaleLinear` for axes, while the `area` generator with `curveBasis` creates the smooth filled path from CSV data. Axis labels and a title are appended as SVG text, with tick lines spanning the plot area for readability. The data is loaded via `d3.csv` from a GitHub gist, and the SVG rendering includes margins and rotated y-axis label.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed