Fork of Line Chart Tejasri
✓ Published0🌍 Public
This example visualizes automobile sales from 2005 to 2021 using a line chart, showing the trend in sales volume over time. The chart displays the data on a time-scaled x-axis and a linear y-axis for sales figures, with axis labels and a title. The code uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` to generate the SVG. Data is loaded from a CSV file via `csv()` and parsed to convert the year and sales values into appropriate types for rendering.
AI-generated descriptionMIT Licensed