Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart for PS4 Global Sales

Public visualization

Line Chart for PS4 Global Sales

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