Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

line chart 3

Public visualization

line chart 3

0 stars0๐ŸŒ Public
RRaja Srinivas Nelluri
Last edited Mar 28, 2022
Created on Mar 28, 2022

This line chart visualizes GTA V total sales from 2013 to 2021, with a red line plotted against time on the x-axis and sales values on the y-axis. The code uses D3 v5 with scaleTime and scaleLinear to map years and totalsales, while axisBottom and axisLeft generate labeled axes with gridlines. Data is loaded from a CSV via d3.csv, and d3.line generates the path rendered as SVG. Axis labels rotate for the y-axis, and the chart includes a title and styled tick text.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed