Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of test

Public visualization

Viewing a saved revision (read-only)

7b87b4166b5a4f5e82c4c5ae18a153cf

Fork of test

0 stars0🌍 Public
BBryanA999
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from test

This example shows weekly sales data from a Walmart dataset as an area chart, with the x-axis representing weeks 0 through 52 and the y-axis showing sales values up to 4 million. The visualization uses d3.scaleLinear for both axes, d3.axisBottom and d3.axisLeft for tick marks, and d3.area to render the filled region beneath the sales line. Data is loaded from a CSV file using d3.csv, and the SVG output includes labeled axes and a title. The chart is rendered entirely with D3 v5 into a static SVG element, with gridlines drawn via tickSize.

AI-generated description

Creating a line Chart with d3.js.