Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7.3

Public visualization

Viewing a saved revision (read-only)

e47a7c847580480f9e6aaa95dc44f95b

ICE 7.3

0 stars0🌍 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.