Skip to main content
100%

ICE 7.4

✓ Published0🌍 Public
Kkartik900
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from HTML Starter

This visualization displays 11 years of Walmart sales data as a smooth area chart, with a black line tracing sales over time above a yellow filled region. The SVG chart uses D3.js v5 scales, axes, and generators, including `scaleTime`, `scaleLinear`, `line`, and `area` with `curveBasis` for smoothing. The data is loaded from a remote CSV file, with years parsed via `d3.timeParse` and sales converted to numbers. Axis labels and gridlines are styled through CSS, while tick labels on the y-axis are formatted using D3's `format` with the `.3s` specifier.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes