Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

line chart 3

Public visualization

Viewing a saved revision (read-only)

ca0688c3baf749cf84ed41511d217d0c

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