Skip to main content
Public

Share visualization

Loading preview…

Fork of test

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of test

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

Comments

Sign in to join the discussion.

MIT Licensed