Line Chart for PS4 Global Sales
✓ Published0🌍 Public
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 descriptionMIT Licensed