Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE 7 Area Chart

Public visualization

Viewing a saved revision (read-only)

32fa933ad72f40ef983c691eda58b26b

Fork of Fork of ICE 7 Area Chart

0 stars0🌍 Public
LLakshmiManjushaReddyYarreddu
Last edited Mar 23, 2023
Created on Mar 23, 2023

This visualization displays supermarket sales in India over time, combining a smooth line chart with an area chart to emphasize sales trends. The chart uses D3 v5's `scaleTime` and `scaleLinear` for axes, with `line()` and `area()` generators using `curveBasis` for curved paths. Data is loaded via `csv()` from a GitHub gist, where each date is parsed with `timeParse("%Y")`. SVG rendering includes labeled axes, gridlines via tick sizes, and a bold dark line over an orange filled area.

AI-generated description

combined line and area charts