Skip to main content
Public

Share visualization

Loading preview…

Line Chart for PS4 Global Sales

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

Line Chart for PS4 Global Sales

0
Aanushaanumula
Last edited Jul 3, 2022
Created on Jul 3, 2022
Forked from HTML Starter

This line chart visualizes global PS4 sales per year from a CSV dataset. The x-axis maps time using `scaleTime`, while the y-axis uses `scaleLinear` for sales figures. The `line` generator creates the green path, with axes rendered via `axisBottom` and `axisLeft`. Titles and axis labels are added through SVG `text` elements. Data loading and processing use D3’s `csv` method, and the visualization is rendered entirely in SVG. The chart highlights yearly sales trends, with gridlines indicated by tick marks extending across the plot area.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed