🌍 Public
Viewing a saved revision (read-only)
1717923dc1d9481495aa12e9a4de2b2e
Area Chart Akhil
This example visualizes textile sales data as an area chart, showing total sales trends over time with a smooth curved baseline. The chart includes labeled axes for year and sales, gridlines, and circular markers highlighting individual data points. Built with D3 v5, it uses `scaleTime`, `scaleLinear`, `area`, and `curveBasis` to generate the SVG path, while `axisBottom` and `axisLeft` render the axes. Data is loaded from a remote CSV file via `csv`, with the year parsed as a date and sales as numeric values.
AI-generated description