Skip to main content
100%

line chart 3

✓ Published0🌍 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
MIT Licensed

Similar vizzes