Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Area Chart by Arefa Patwary

Public visualization

Viewing a saved revision (read-only)

a1f8053e574f4e2fbd7b3d1552c4986b

Fork of Area Chart by Arefa Patwary

0 stars0🌍 Public
AArefa Patwary
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Area Chart

This visualization shows electronic sales from 2013 to 2021 using a combined line and area chart. The line traces sales trends over time, while the filled area beneath emphasizes cumulative magnitude. The code uses d3.csv to load data from a GitHub gist, d3.scaleTime and d3.scaleLinear for axes, and d3.line with d3.curveBasis for the stroke. d3.area creates the shaded region, with axes rendered via d3.axisBottom and d3.axisLeft. SVG rendering and green/pink styling support the presentation.

AI-generated description

combined line and area charts