Skip to main content
100%

Iphone Sales

✓ Published0🌍 Public
RRadhakrishna246
Last edited Mar 27, 2022
Created on Mar 27, 2022

This line chart shows iPhone sales from 2015 to 2021, with years on the x-axis and sales numbers on the y-axis. The data is loaded from a CSV file hosted on GitHub Gist using d3.csv. The visualization uses D3 v5 with SVG rendering, employing d3.scaleTime and d3.scaleLinear for axes, d3.extent and d3.max to compute domains, and d3.line to generate the path. Grid lines are added via axis ticks, and the chart includes axis labels and a title, all styled with custom CSS classes.

AI-generated description
MIT Licensed

Similar vizzes