Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

038a83ac0dd54544bbfc61bd7406e48b

Area Chart

0 stars0🌍 Public
Aakhila157
Last edited Mar 26, 2023
Created on Mar 25, 2023
Forked from Line Chart

This area chart displays the population of the USA from 1960 to 2021, with time on the x-axis and population count on the y-axis. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. It generates a line path via `d3.line` and fills the area beneath it using `d3.area` with `d3.curveBasis` smoothing. The data comes from a CSV file loaded with `d3.csv`, and axis labels are added directly in the SVG.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.