Skip to main content
100%

ICE 7.3

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

This example shows Walmart sales over an 11-year period as a single line chart, with time on the x-axis and total sales value on the y-axis. The visualization is built with React and rendered as an SVG using D3 v5, specifically leveraging `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and the `line` generator to draw the path. Data is loaded as CSV and parsed with `d3.timeParse` to convert date strings into temporal values. Grid lines are styled via CSS, and axis labels are added as SVG text elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes