Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area_Chart

Public visualization

Viewing a saved revision (read-only)

4d2b12344e064b6384c489f01c74b7a5

Area_Chart

0 stars0🌍 Public
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