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
AAkrutiKhurana2103
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line_Chart

This area chart shows the number of passengers traveling with Qatar Airways from 2011 to 2021, drawn as a smooth, maroon-filled curve with a black outline. Using D3 v5, the code loads CSV data, parses dates with `d3.timeParse`, and builds scales with `scaleTime` and `scaleLinear`. It generates the line and area paths with `d3.line` and `d3.area`, applies `curveBasis` for smoothing, and renders axes with grid lines via `axisBottom` and `axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed